Package org.apache.hadoop.hdfs.protocol
Class HdfsConstants
java.lang.Object
org.apache.hadoop.hdfs.protocol.HdfsConstants
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic enumstatic enumRe-encrypt encryption zone actions.static enumstatic enumstatic enumThis enum wraps above Storage Policy ID and name.static enumStorage policy satisfier service modes.static enumUpgrade actions. -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final bytestatic final Stringstatic final bytestatic final Stringstatic final bytestatic final intstatic final StringHDFS Protocol Names:static final bytestatic final Stringstatic final intstatic final Stringstatic final Stringstatic final Stringstatic final StringA special path component contained in the path for a snapshot file/dirstatic final Stringstatic final longGeneration stamp of blocks that pre-date the introduction of a generation stamp.static final longThe inode id validation of lease check will be skipped when the request uses GRANDFATHER_INODE_ID for backward compatibility.static final StringA prefix put before the namenode URI inside the "service" field of a delgation token, indicating that the URI is a logical (HA) URI.static final StringURI Scheme for hdfs://namenode/ URIs.static final bytestatic final Stringstatic final longFor a HDFS client to write to a file, a lease is granted; During the lease period, no other client can write to the file.static final bytestatic final Stringstatic final bytestatic final Stringstatic final bytestatic final Stringstatic final longstatic final longstatic final intstatic final intstatic final StringRouter admin Protocol Names.static final Stringstatic final Stringstatic final Stringstatic final bytestatic final Stringstatic final intstatic final int -
Constructor Summary
Constructors -
Method Summary
-
Field Details
-
QUOTA_DONT_SET
public static final long QUOTA_DONT_SET- See Also:
-
QUOTA_RESET
public static final long QUOTA_RESET- See Also:
-
BYTES_IN_INTEGER
public static final int BYTES_IN_INTEGER- See Also:
-
HDFS_URI_SCHEME
URI Scheme for hdfs://namenode/ URIs.- See Also:
-
MEMORY_STORAGE_POLICY_ID
public static final byte MEMORY_STORAGE_POLICY_ID- See Also:
-
MEMORY_STORAGE_POLICY_NAME
- See Also:
-
ALLNVDIMM_STORAGE_POLICY_ID
public static final byte ALLNVDIMM_STORAGE_POLICY_ID- See Also:
-
ALLNVDIMM_STORAGE_POLICY_NAME
- See Also:
-
ALLSSD_STORAGE_POLICY_ID
public static final byte ALLSSD_STORAGE_POLICY_ID- See Also:
-
ALLSSD_STORAGE_POLICY_NAME
- See Also:
-
ONESSD_STORAGE_POLICY_ID
public static final byte ONESSD_STORAGE_POLICY_ID- See Also:
-
ONESSD_STORAGE_POLICY_NAME
- See Also:
-
HOT_STORAGE_POLICY_ID
public static final byte HOT_STORAGE_POLICY_ID- See Also:
-
HOT_STORAGE_POLICY_NAME
- See Also:
-
WARM_STORAGE_POLICY_ID
public static final byte WARM_STORAGE_POLICY_ID- See Also:
-
WARM_STORAGE_POLICY_NAME
- See Also:
-
COLD_STORAGE_POLICY_ID
public static final byte COLD_STORAGE_POLICY_ID- See Also:
-
COLD_STORAGE_POLICY_NAME
- See Also:
-
PROVIDED_STORAGE_POLICY_ID
public static final byte PROVIDED_STORAGE_POLICY_ID- See Also:
-
PROVIDED_STORAGE_POLICY_NAME
- See Also:
-
DEFAULT_DATA_SOCKET_SIZE
public static final int DEFAULT_DATA_SOCKET_SIZE- See Also:
-
DOT_SNAPSHOT_DIR
A special path component contained in the path for a snapshot file/dir- See Also:
-
SEPARATOR_DOT_SNAPSHOT_DIR
- See Also:
-
DOT_SNAPSHOT_DIR_SEPARATOR
- See Also:
-
SEPARATOR_DOT_SNAPSHOT_DIR_SEPARATOR
- See Also:
-
DOT_RESERVED_STRING
- See Also:
-
DOT_RESERVED_PATH_PREFIX
- See Also:
-
DOT_INODES_STRING
- See Also:
-
GRANDFATHER_GENERATION_STAMP
public static final long GRANDFATHER_GENERATION_STAMPGeneration stamp of blocks that pre-date the introduction of a generation stamp.- See Also:
-
GRANDFATHER_INODE_ID
public static final long GRANDFATHER_INODE_IDThe inode id validation of lease check will be skipped when the request uses GRANDFATHER_INODE_ID for backward compatibility.- See Also:
-
BLOCK_STORAGE_POLICY_ID_UNSPECIFIED
public static final byte BLOCK_STORAGE_POLICY_ID_UNSPECIFIED- See Also:
-
HA_DT_SERVICE_PREFIX
A prefix put before the namenode URI inside the "service" field of a delgation token, indicating that the URI is a logical (HA) URI.- See Also:
-
SAFEMODE_EXCEPTION_CLASS_NAME
- See Also:
-
CLIENT_NAMENODE_PROTOCOL_NAME
HDFS Protocol Names:- See Also:
-
ROUTER_ADMIN_PROTOCOL_NAME
Router admin Protocol Names.- See Also:
-
READ_TIMEOUT
public static final int READ_TIMEOUT- See Also:
-
READ_TIMEOUT_EXTENSION
public static final int READ_TIMEOUT_EXTENSION- See Also:
-
WRITE_TIMEOUT
public static final int WRITE_TIMEOUT- See Also:
-
WRITE_TIMEOUT_EXTENSION
public static final int WRITE_TIMEOUT_EXTENSION- See Also:
-
LEASE_SOFTLIMIT_PERIOD
public static final long LEASE_SOFTLIMIT_PERIODFor a HDFS client to write to a file, a lease is granted; During the lease period, no other client can write to the file. The writing client can periodically renew the lease. When the file is closed, the lease is revoked. The lease duration is bound by this soft limit and aHdfsClientConfigKeys.DFS_LEASE_HARDLIMIT_KEY. Until the soft limit expires, the writer has sole write access to the file. If the soft limit expires and the client fails to close the file or renew the lease, another client can preempt the lease.- See Also:
-
-
Constructor Details
-
HdfsConstants
protected HdfsConstants()
-