@Private
public final class HdfsConstants
extends java.lang.Object
| Modifier and Type | Class | Description |
|---|---|---|
static class |
HdfsConstants.DatanodeReportType |
|
static class |
HdfsConstants.ReencryptAction |
Re-encrypt encryption zone actions.
|
static class |
HdfsConstants.RollingUpgradeAction |
|
static class |
HdfsConstants.SafeModeAction |
|
static class |
HdfsConstants.StoragePolicy |
This enum wraps above Storage Policy ID and name.
|
static class |
HdfsConstants.StoragePolicySatisfierMode |
Storage policy satisfier service modes.
|
static class |
HdfsConstants.UpgradeAction |
Upgrade actions.
|
| Modifier and Type | Field | Description |
|---|---|---|
static byte |
ALLNVDIMM_STORAGE_POLICY_ID |
|
static java.lang.String |
ALLNVDIMM_STORAGE_POLICY_NAME |
|
static byte |
ALLSSD_STORAGE_POLICY_ID |
|
static java.lang.String |
ALLSSD_STORAGE_POLICY_NAME |
|
static byte |
BLOCK_STORAGE_POLICY_ID_UNSPECIFIED |
|
static int |
BYTES_IN_INTEGER |
|
static java.lang.String |
CLIENT_NAMENODE_PROTOCOL_NAME |
HDFS Protocol Names:
|
static byte |
COLD_STORAGE_POLICY_ID |
|
static java.lang.String |
COLD_STORAGE_POLICY_NAME |
|
static int |
DEFAULT_DATA_SOCKET_SIZE |
|
static java.lang.String |
DOT_INODES_STRING |
|
static java.lang.String |
DOT_RESERVED_PATH_PREFIX |
|
static java.lang.String |
DOT_RESERVED_STRING |
|
static java.lang.String |
DOT_SNAPSHOT_DIR |
A special path component contained in the path for a snapshot file/dir
|
static java.lang.String |
DOT_SNAPSHOT_DIR_SEPARATOR |
|
static long |
GRANDFATHER_GENERATION_STAMP |
Generation stamp of blocks that pre-date the introduction
of a generation stamp.
|
static long |
GRANDFATHER_INODE_ID |
The inode id validation of lease check will be skipped when the request
uses GRANDFATHER_INODE_ID for backward compatibility.
|
static java.lang.String |
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.
|
static java.lang.String |
HDFS_URI_SCHEME |
URI Scheme for hdfs://namenode/ URIs.
|
static byte |
HOT_STORAGE_POLICY_ID |
|
static java.lang.String |
HOT_STORAGE_POLICY_NAME |
|
static long |
LEASE_SOFTLIMIT_PERIOD |
For 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 byte |
MEMORY_STORAGE_POLICY_ID |
|
static java.lang.String |
MEMORY_STORAGE_POLICY_NAME |
|
static byte |
ONESSD_STORAGE_POLICY_ID |
|
static java.lang.String |
ONESSD_STORAGE_POLICY_NAME |
|
static byte |
PROVIDED_STORAGE_POLICY_ID |
|
static java.lang.String |
PROVIDED_STORAGE_POLICY_NAME |
|
static long |
QUOTA_DONT_SET |
|
static long |
QUOTA_RESET |
|
static int |
READ_TIMEOUT |
|
static int |
READ_TIMEOUT_EXTENSION |
|
static java.lang.String |
ROUTER_ADMIN_PROTOCOL_NAME |
Router admin Protocol Names.
|
static java.lang.String |
SAFEMODE_EXCEPTION_CLASS_NAME |
|
static java.lang.String |
SEPARATOR_DOT_SNAPSHOT_DIR |
|
static java.lang.String |
SEPARATOR_DOT_SNAPSHOT_DIR_SEPARATOR |
|
static byte |
WARM_STORAGE_POLICY_ID |
|
static java.lang.String |
WARM_STORAGE_POLICY_NAME |
|
static int |
WRITE_TIMEOUT |
|
static int |
WRITE_TIMEOUT_EXTENSION |
| Modifier | Constructor | Description |
|---|---|---|
protected |
HdfsConstants() |
public static final long QUOTA_DONT_SET
public static final long QUOTA_RESET
public static final int BYTES_IN_INTEGER
public static final java.lang.String HDFS_URI_SCHEME
public static final byte MEMORY_STORAGE_POLICY_ID
public static final java.lang.String MEMORY_STORAGE_POLICY_NAME
public static final byte ALLNVDIMM_STORAGE_POLICY_ID
public static final java.lang.String ALLNVDIMM_STORAGE_POLICY_NAME
public static final byte ALLSSD_STORAGE_POLICY_ID
public static final java.lang.String ALLSSD_STORAGE_POLICY_NAME
public static final byte ONESSD_STORAGE_POLICY_ID
public static final java.lang.String ONESSD_STORAGE_POLICY_NAME
public static final byte HOT_STORAGE_POLICY_ID
public static final java.lang.String HOT_STORAGE_POLICY_NAME
public static final byte WARM_STORAGE_POLICY_ID
public static final java.lang.String WARM_STORAGE_POLICY_NAME
public static final byte COLD_STORAGE_POLICY_ID
public static final java.lang.String COLD_STORAGE_POLICY_NAME
public static final byte PROVIDED_STORAGE_POLICY_ID
public static final java.lang.String PROVIDED_STORAGE_POLICY_NAME
public static final int DEFAULT_DATA_SOCKET_SIZE
public static final java.lang.String DOT_SNAPSHOT_DIR
public static final java.lang.String SEPARATOR_DOT_SNAPSHOT_DIR
public static final java.lang.String DOT_SNAPSHOT_DIR_SEPARATOR
public static final java.lang.String SEPARATOR_DOT_SNAPSHOT_DIR_SEPARATOR
public static final java.lang.String DOT_RESERVED_STRING
public static final java.lang.String DOT_RESERVED_PATH_PREFIX
public static final java.lang.String DOT_INODES_STRING
public static final long GRANDFATHER_GENERATION_STAMP
public static final long GRANDFATHER_INODE_ID
public static final byte BLOCK_STORAGE_POLICY_ID_UNSPECIFIED
public static final java.lang.String HA_DT_SERVICE_PREFIX
public static final java.lang.String SAFEMODE_EXCEPTION_CLASS_NAME
public static final java.lang.String CLIENT_NAMENODE_PROTOCOL_NAME
public static final java.lang.String ROUTER_ADMIN_PROTOCOL_NAME
public static final int READ_TIMEOUT
public static final int READ_TIMEOUT_EXTENSION
public static final int WRITE_TIMEOUT
public static final int WRITE_TIMEOUT_EXTENSION
public static final long LEASE_SOFTLIMIT_PERIOD
HdfsClientConfigKeys.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.Copyright © 2008–2025 Apache Software Foundation. All rights reserved.