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 int ACLS_NOT_SUPPORTED
           
static String CONF_LABEL_APPEND
           
static String CONF_LABEL_ATOMIC_COPY
          Constants mapping to command line switches/input options
static String CONF_LABEL_BANDWIDTH_MB
           
static String CONF_LABEL_COPY_LISTING_CLASS
           
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_CHUNKS_IDEAL
           
static String CONF_LABEL_MAX_CHUNKS_TOLERABLE
           
static String CONF_LABEL_MAX_MAPS
           
static String CONF_LABEL_META_FOLDER
           
static String CONF_LABEL_MIN_RECORDS_PER_CHUNK
           
static String CONF_LABEL_OVERWRITE
           
static String CONF_LABEL_PRESERVE_RAWXATTRS
           
static String CONF_LABEL_PRESERVE_STATUS
           
static String CONF_LABEL_SKIP_CRC
           
static String CONF_LABEL_SOURCE_LISTING
           
static String CONF_LABEL_SPLIT_RATIO
           
static String CONF_LABEL_SSL_CONF
           
static String CONF_LABEL_SSL_KEY_STORE_LOCATION
          Conf label for SSL Key-store location.
static String CONF_LABEL_SSL_KEYSTORE
           
static String CONF_LABEL_SSL_TRUST_STORE_LOCATION
          Conf label for SSL Trust-store location.
static String CONF_LABEL_SYNC_FOLDERS
           
static String CONF_LABEL_TARGET_FINAL_PATH
           
static String CONF_LABEL_TARGET_PATH_EXISTS
           
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_MB
           
static int DEFAULT_MAPS
           
static int DUPLICATE_INPUT
           
static int INVALID_ARGUMENT
           
static int MAX_CHUNKS_IDEAL_DEFAULT
           
static int MAX_CHUNKS_TOLERABLE_DEFAULT
          Constants for DistCp default values of configurable values
static int MIN_RECORDS_PER_CHUNK_DEFAULT
           
static int SPLIT_RATIO_DEFAULT
           
static int SUCCESS
          Constants for DistCp return code to shell / consumer of ToolRunner's run
static String UNIFORMSIZE
           
static int UNKNOWN_ERROR
           
static int XATTRS_NOT_SUPPORTED
           
 
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_MB

public static final int DEFAULT_BANDWIDTH_MB
See Also:
Constant Field Values

UNIFORMSIZE

public static final String UNIFORMSIZE
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_STATUS

public static final String CONF_LABEL_PRESERVE_STATUS
See Also:
Constant Field Values

CONF_LABEL_PRESERVE_RAWXATTRS

public static final String CONF_LABEL_PRESERVE_RAWXATTRS
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_APPEND

public static final String CONF_LABEL_APPEND
See Also:
Constant Field Values

CONF_LABEL_BANDWIDTH_MB

public static final String CONF_LABEL_BANDWIDTH_MB
See Also:
Constant Field Values

CONF_LABEL_MAX_CHUNKS_TOLERABLE

public static final String CONF_LABEL_MAX_CHUNKS_TOLERABLE
See Also:
Constant Field Values

CONF_LABEL_MAX_CHUNKS_IDEAL

public static final String CONF_LABEL_MAX_CHUNKS_IDEAL
See Also:
Constant Field Values

CONF_LABEL_MIN_RECORDS_PER_CHUNK

public static final String CONF_LABEL_MIN_RECORDS_PER_CHUNK
See Also:
Constant Field Values

CONF_LABEL_SPLIT_RATIO

public static final String CONF_LABEL_SPLIT_RATIO
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_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_TARGET_PATH_EXISTS

public static final String CONF_LABEL_TARGET_PATH_EXISTS
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

CONF_LABEL_COPY_LISTING_CLASS

public static final String CONF_LABEL_COPY_LISTING_CLASS
See Also:
Constant Field Values

CONF_LABEL_SSL_TRUST_STORE_LOCATION

public static final String CONF_LABEL_SSL_TRUST_STORE_LOCATION
Conf label for SSL Trust-store location.

See Also:
Constant Field Values

CONF_LABEL_SSL_KEY_STORE_LOCATION

public static final String CONF_LABEL_SSL_KEY_STORE_LOCATION
Conf label for SSL Key-store location.

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

ACLS_NOT_SUPPORTED

public static final int ACLS_NOT_SUPPORTED
See Also:
Constant Field Values

XATTRS_NOT_SUPPORTED

public static final int XATTRS_NOT_SUPPORTED
See Also:
Constant Field Values

UNKNOWN_ERROR

public static final int UNKNOWN_ERROR
See Also:
Constant Field Values

MAX_CHUNKS_TOLERABLE_DEFAULT

public static final int MAX_CHUNKS_TOLERABLE_DEFAULT
Constants for DistCp default values of configurable values

See Also:
Constant Field Values

MAX_CHUNKS_IDEAL_DEFAULT

public static final int MAX_CHUNKS_IDEAL_DEFAULT
See Also:
Constant Field Values

MIN_RECORDS_PER_CHUNK_DEFAULT

public static final int MIN_RECORDS_PER_CHUNK_DEFAULT
See Also:
Constant Field Values

SPLIT_RATIO_DEFAULT

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

DistCpConstants

public DistCpConstants()


Copyright © 2014 Apache Software Foundation. All Rights Reserved.