org.apache.hadoop.tools
Class DistCpConstants

java.lang.Object
  extended by org.apache.hadoop.tools.DistCpConstants

public class DistCpConstants
extends Object

Utility class to hold commonly used constants.


Field Summary
static String CONF_LABEL_ATOMIC_COPY
          Constants mapping to command line switches/input options
static String CONF_LABEL_BANDWIDTH_KB
           
static String CONF_LABEL_BANDWIDTH_MB
           
static String CONF_LABEL_COPY_STRATEGY
           
static String CONF_LABEL_DELETE_MISSING
           
static String CONF_LABEL_DISTCP_JOB_ID
          DistCp job id for consumers of the Disctp
static String CONF_LABEL_IGNORE_FAILURES
           
static String CONF_LABEL_LISTING_FILE_PATH
           
static String CONF_LABEL_LOG_PATH
           
static String CONF_LABEL_MAX_MAPS
           
static String CONF_LABEL_META_FOLDER
           
static String CONF_LABEL_NUM_MAPS
           
static String CONF_LABEL_OVERWRITE
           
static String CONF_LABEL_PRESERVE_SRC_PATH
           
static String CONF_LABEL_PRESERVE_STATUS
           
static String CONF_LABEL_SKIP_CRC
           
static String CONF_LABEL_SOURCE_LISTING
           
static String CONF_LABEL_SSL_CONF
           
static String CONF_LABEL_SSL_KEYSTORE
           
static String CONF_LABEL_SYNC_FOLDERS
           
static String CONF_LABEL_TARGET_FINAL_PATH
           
static String CONF_LABEL_TARGET_WORK_PATH
           
static String CONF_LABEL_TOTAL_BYTES_TO_BE_COPIED
           
static String CONF_LABEL_TOTAL_NUMBER_OF_RECORDS
           
static String CONF_LABEL_WORK_PATH
           
static int DEFAULT_BANDWIDTH_KB
           
static String DEFAULT_COPY_STRATEGY
           
static int DEFAULT_MAPS
           
static int DUPLICATE_INPUT
           
static int INVALID_ARGUMENT
           
static int SUCCESS
          Constants for DistCp return code to shell / consumer of ToolRunner's run
static int UNKNOWN_ERROR
           
 
Constructor Summary
DistCpConstants()
           
 
Method Summary
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

DEFAULT_MAPS

public static final int DEFAULT_MAPS
See Also:
Constant Field Values

DEFAULT_BANDWIDTH_KB

public static final int DEFAULT_BANDWIDTH_KB
See Also:
Constant Field Values

DEFAULT_COPY_STRATEGY

public static final String DEFAULT_COPY_STRATEGY
See Also:
Constant Field Values

CONF_LABEL_ATOMIC_COPY

public static final String CONF_LABEL_ATOMIC_COPY
Constants mapping to command line switches/input options

See Also:
Constant Field Values

CONF_LABEL_WORK_PATH

public static final String CONF_LABEL_WORK_PATH
See Also:
Constant Field Values

CONF_LABEL_LOG_PATH

public static final String CONF_LABEL_LOG_PATH
See Also:
Constant Field Values

CONF_LABEL_IGNORE_FAILURES

public static final String CONF_LABEL_IGNORE_FAILURES
See Also:
Constant Field Values

CONF_LABEL_PRESERVE_SRC_PATH

public static final String CONF_LABEL_PRESERVE_SRC_PATH
See Also:
Constant Field Values

CONF_LABEL_PRESERVE_STATUS

public static final String CONF_LABEL_PRESERVE_STATUS
See Also:
Constant Field Values

CONF_LABEL_SYNC_FOLDERS

public static final String CONF_LABEL_SYNC_FOLDERS
See Also:
Constant Field Values

CONF_LABEL_DELETE_MISSING

public static final String CONF_LABEL_DELETE_MISSING
See Also:
Constant Field Values

CONF_LABEL_SSL_CONF

public static final String CONF_LABEL_SSL_CONF
See Also:
Constant Field Values

CONF_LABEL_MAX_MAPS

public static final String CONF_LABEL_MAX_MAPS
See Also:
Constant Field Values

CONF_LABEL_SOURCE_LISTING

public static final String CONF_LABEL_SOURCE_LISTING
See Also:
Constant Field Values

CONF_LABEL_COPY_STRATEGY

public static final String CONF_LABEL_COPY_STRATEGY
See Also:
Constant Field Values

CONF_LABEL_SKIP_CRC

public static final String CONF_LABEL_SKIP_CRC
See Also:
Constant Field Values

CONF_LABEL_OVERWRITE

public static final String CONF_LABEL_OVERWRITE
See Also:
Constant Field Values

CONF_LABEL_BANDWIDTH_MB

public static final String CONF_LABEL_BANDWIDTH_MB
See Also:
Constant Field Values

CONF_LABEL_BANDWIDTH_KB

public static final String CONF_LABEL_BANDWIDTH_KB
See Also:
Constant Field Values

CONF_LABEL_TOTAL_BYTES_TO_BE_COPIED

public static final String CONF_LABEL_TOTAL_BYTES_TO_BE_COPIED
See Also:
Constant Field Values

CONF_LABEL_TOTAL_NUMBER_OF_RECORDS

public static final String CONF_LABEL_TOTAL_NUMBER_OF_RECORDS
See Also:
Constant Field Values

CONF_LABEL_SSL_KEYSTORE

public static final String CONF_LABEL_SSL_KEYSTORE
See Also:
Constant Field Values

CONF_LABEL_LISTING_FILE_PATH

public static final String CONF_LABEL_LISTING_FILE_PATH
See Also:
Constant Field Values

CONF_LABEL_NUM_MAPS

public static final String CONF_LABEL_NUM_MAPS
See Also:
Constant Field Values

CONF_LABEL_TARGET_WORK_PATH

public static final String CONF_LABEL_TARGET_WORK_PATH
See Also:
Constant Field Values

CONF_LABEL_TARGET_FINAL_PATH

public static final String CONF_LABEL_TARGET_FINAL_PATH
See Also:
Constant Field Values

CONF_LABEL_DISTCP_JOB_ID

public static final String CONF_LABEL_DISTCP_JOB_ID
DistCp job id for consumers of the Disctp

See Also:
Constant Field Values

CONF_LABEL_META_FOLDER

public static final String CONF_LABEL_META_FOLDER
See Also:
Constant Field Values

SUCCESS

public static final int SUCCESS
Constants for DistCp return code to shell / consumer of ToolRunner's run

See Also:
Constant Field Values

INVALID_ARGUMENT

public static final int INVALID_ARGUMENT
See Also:
Constant Field Values

DUPLICATE_INPUT

public static final int DUPLICATE_INPUT
See Also:
Constant Field Values

UNKNOWN_ERROR

public static final int UNKNOWN_ERROR
See Also:
Constant Field Values
Constructor Detail

DistCpConstants

public DistCpConstants()


Copyright © 2014 InMobi. All rights reserved.