Interface HdfsServerConstants
@Private
public interface HdfsServerConstants
Some handy internal HDFS constants
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic enumStates, which a block can go through while it is under construction.static enumDefines the NameNode role.static enumType of the nodestatic enumBlock replica states, which it can go through while being constructed.static enumStartup options for rolling upgrade.static enumStartup options -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final longstatic final Stringstatic final Stringstatic final byte[]static final longstatic final longstatic final longstatic final bytestatic final intstatic final intstatic final intstatic final intCurrent minimum compatible version for NameNode Please seeNameNodeLayoutVersion.Featureon adding new layout version.static final org.apache.hadoop.fs.Pathstatic final intCurrent layout version for NameNode.static final Stringstatic final longstatic final String[]Path components that are reserved in HDFS.static final Stringstatic final Stringstatic final Stringstatic final String
-
Field Details
-
MIN_BLOCKS_FOR_WRITE
static final int MIN_BLOCKS_FOR_WRITE- See Also:
-
LEASE_RECOVER_PERIOD
static final long LEASE_RECOVER_PERIOD- See Also:
-
MAX_PATH_LENGTH
static final int MAX_PATH_LENGTH- See Also:
-
MAX_PATH_DEPTH
static final int MAX_PATH_DEPTH- See Also:
-
INVALID_TXID
static final long INVALID_TXID- See Also:
-
RESERVED_LEGACY_GENERATION_STAMPS
static final long RESERVED_LEGACY_GENERATION_STAMPS- See Also:
-
NAMENODE_LAYOUT_VERSION
static final int NAMENODE_LAYOUT_VERSIONCurrent layout version for NameNode. Please seeNameNodeLayoutVersion.Featureon adding new layout version. -
MINIMUM_COMPATIBLE_NAMENODE_LAYOUT_VERSION
static final int MINIMUM_COMPATIBLE_NAMENODE_LAYOUT_VERSIONCurrent minimum compatible version for NameNode Please seeNameNodeLayoutVersion.Featureon adding new layout version. -
RESERVED_PATH_COMPONENTS
Path components that are reserved in HDFS..reserved is only reserved under root ("/").
-
DOT_SNAPSHOT_DIR_BYTES
static final byte[] DOT_SNAPSHOT_DIR_BYTES -
NAMENODE_LEASE_HOLDER
- See Also:
-
CRYPTO_XATTR_ENCRYPTION_ZONE
- See Also:
-
CRYPTO_XATTR_FILE_ENCRYPTION_INFO
- See Also:
-
SECURITY_XATTR_UNREADABLE_BY_SUPERUSER
- See Also:
-
XATTR_ERASURECODING_POLICY
- See Also:
-
XATTR_SNAPSHOT_DELETED
- See Also:
-
XATTR_SATISFY_STORAGE_POLICY
- See Also:
-
MOVER_ID_PATH
static final org.apache.hadoop.fs.Path MOVER_ID_PATH -
BLOCK_GROUP_INDEX_MASK
static final long BLOCK_GROUP_INDEX_MASK- See Also:
-
MAX_BLOCKS_IN_GROUP
static final byte MAX_BLOCKS_IN_GROUP- See Also:
-
MAX_BANDWIDTH_PER_DATANODE
static final long MAX_BANDWIDTH_PER_DATANODE- See Also:
-