|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.hadoop.hbase.HConstants
public final class HConstants
HConstants holds a bunch of HBase-related constants
Nested Class Summary | |
---|---|
static class |
HConstants.Modify
modifyTable op for replacing the table descriptor |
static class |
HConstants.OperationStatusCode
Status codes used for return values of bulk operations. |
Field Summary | |
---|---|
static int |
ALL_VERSIONS
Define for 'return-all-versions'. |
static String |
BYTES_PER_CHECKSUM
The name of the configuration parameter that specifies the number of bytes in a newly created checksum chunk. |
static byte[] |
CATALOG_FAMILY
The catalog family |
static String |
CATALOG_FAMILY_STR
The catalog family as a string |
static String |
CHECKSUM_TYPE_NAME
The name of the configuration parameter that specifies the name of an algorithm that is used to compute checksums for newly created blocks. |
static String |
CLIENT_PORT_STR
The ZK client port key in the ZK properties map. |
static String |
CLUSTER_DISTRIBUTED
Cluster is in distributed mode or not |
static String |
CLUSTER_ID
Configuration key storing the cluster ID |
static String |
CLUSTER_ID_FILE_NAME
name of the file for unique cluster ID |
static boolean |
CLUSTER_IS_DISTRIBUTED
Cluster is fully-distributed |
static boolean |
CLUSTER_IS_LOCAL
Cluster is standalone or pseudo-distributed |
static String |
COMPACTION_KV_MAX
Parameter name for the maximum batch of KVs to be used in flushes and compactions |
static String |
CORRUPT_DIR_NAME
|
static Pattern |
CP_HTD_ATTR_KEY_PATTERN
|
static String |
CP_HTD_ATTR_VALUE_PARAM_KEY_PATTERN
|
static Pattern |
CP_HTD_ATTR_VALUE_PARAM_PATTERN
|
static String |
CP_HTD_ATTR_VALUE_PARAM_VALUE_PATTERN
|
static Pattern |
CP_HTD_ATTR_VALUE_PATTERN
|
static String |
DATA_FILE_UMASK_KEY
File permission umask to use when creating hbase data files |
static boolean |
DEFAULT_CLUSTER_DISTRIBUTED
Default value for cluster distributed mode |
static UUID |
DEFAULT_CLUSTER_ID
Default cluster ID, cannot be used to identify a cluster so a key with this value means it wasn't meant for replication. |
static int |
DEFAULT_HBASE_CLIENT_OPERATION_TIMEOUT
Default HBase client operation timeout, which is tantamount to a blocking call |
static long |
DEFAULT_HBASE_CLIENT_PAUSE
Default value of HBASE_CLIENT_PAUSE . |
static int |
DEFAULT_HBASE_CLIENT_PREFETCH_LIMIT
Default value of HBASE_CLIENT_PREFETCH_LIMIT . |
static int |
DEFAULT_HBASE_CLIENT_RETRIES_NUMBER
Default value of HBASE_CLIENT_RETRIES_NUMBER . |
static int |
DEFAULT_HBASE_CLIENT_RPC_MAXATTEMPTS
Default value of HBASE_CLIENT_RPC_MAXATTEMPTS . |
static long |
DEFAULT_HBASE_CLIENT_SCANNER_MAX_RESULT_SIZE
Maximum number of bytes returned when calling a scanner's next method. |
static int |
DEFAULT_HBASE_META_SCANNER_CACHING
Default value of HBASE_META_SCANNER_CACHING . |
static long |
DEFAULT_HBASE_REGIONSERVER_LEASE_PERIOD
Default value of HBASE_REGIONSERVER_LEASE_PERIOD_KEY . |
static int |
DEFAULT_HBASE_RPC_TIMEOUT
Default value of HBASE_RPC_TIMEOUT_KEY |
static String |
DEFAULT_HOST
default host address |
static int |
DEFAULT_HSTORE_OPEN_AND_CLOSE_THREADS_MAX
The default number for the max number of threads used for opening and closing stores or store files in parallel |
static int |
DEFAULT_MASTER_INFOPORT
default port for master web api |
static int |
DEFAULT_MASTER_PORT
default port that the master listens on |
static boolean |
DEFAULT_MASTER_TYPE_BACKUP
by default every master is a possible primary master unless the conf explicitly overrides it |
static long |
DEFAULT_MAX_FILE_SIZE
Default maximum file size |
static String |
DEFAULT_REGION_SERVER_CLASS
Default region server interface class name. |
static int |
DEFAULT_REGIONSERVER_INFOPORT
default port for region server web api |
static int |
DEFAULT_REGIONSERVER_PORT
Default port region server listens on. |
static int |
DEFAULT_SIZE_RESERVATION_BLOCK
Default size of a reservation block |
static int |
DEFAULT_THREAD_WAKE_FREQUENCY
Default value for thread wake frequency |
static int |
DEFAULT_VERSION_FILE_WRITE_ATTEMPTS
Parameter name for how often we should try to write a version file, before failing |
static int |
DEFAULT_ZK_SESSION_TIMEOUT
Default value for ZooKeeper session timeout |
static String |
DEFAULT_ZOOKEEPER_ZNODE_PARENT
|
static int |
DEFAULT_ZOOKEPER_CLIENT_PORT
Default client port that the zookeeper listens on |
static int |
DEFAULT_ZOOKEPER_MAX_CLIENT_CNXNS
Default limit on concurrent client-side zookeeper connections |
static long |
DEFAULT_ZOOKEPER_RECOVERABLE_WAITIME
Default wait time for the recoverable zookeeper |
static byte[] |
EMPTY_BYTE_ARRAY
An empty instance. |
static byte[] |
EMPTY_END_ROW
Last row in a table. |
static byte[] |
EMPTY_START_ROW
Used by scanners, etc when they want to start at the beginning of a region |
static String |
ENABLE_DATA_FILE_UMASK
Enable file permission modification from standard hbase |
static String |
ENABLE_WAL_COMPRESSION
Configuration name of HLog Compression |
static String |
FILE_SYSTEM_VERSION
Current version of file system. |
static int |
FOREVER
Unlimited time-to-live. |
static String |
HBASE_CHECKSUM_VERIFICATION
If this parameter is set to true, then hbase will read data and then verify checksums. |
static String |
HBASE_CLIENT_INSTANCE_ID
Parameter name for unique identifier for this Configuration
instance. |
static String |
HBASE_CLIENT_IPC_POOL_SIZE
Parameter name for HBase client IPC pool size |
static String |
HBASE_CLIENT_IPC_POOL_TYPE
Parameter name for HBase client IPC pool type |
static String |
HBASE_CLIENT_OPERATION_TIMEOUT
Parameter name for HBase client operation timeout, which overrides RPC timeout |
static String |
HBASE_CLIENT_PAUSE
Parameter name for client pause value, used mostly as value to wait before running a retry of a failed get, region lookup, etc. |
static String |
HBASE_CLIENT_PREFETCH_LIMIT
Parameter name for client prefetch limit, used as the maximum number of regions info that will be prefetched. |
static String |
HBASE_CLIENT_RETRIES_NUMBER
Parameter name for maximum retries, used as maximum for all retryable operations such as fetching of the root region from root region server, getting a cell's value, starting a row update, etc. |
static String |
HBASE_CLIENT_RPC_MAXATTEMPTS
Parameter name for maximum attempts, used to limit the number of times the client will try to obtain the proxy for a given region server. |
static String |
HBASE_CLIENT_SCANNER_MAX_RESULT_SIZE_KEY
Parameter name for maximum number of bytes returned when calling a scanner's next method. |
static float |
HBASE_CLUSTER_MINIMUM_MEMORY_THRESHOLD
|
static String |
HBASE_DIR
Parameter name for HBase instance root directory |
static String |
HBASE_MASTER_LOADBALANCER_CLASS
Config for pluggable load balancers |
static String |
HBASE_MASTER_LOGCLEANER_PLUGINS
|
static String |
HBASE_META_SCANNER_CACHING
Parameter name for number of rows that will be fetched when calling next on a scanner if it is not served from memory. |
static List<String> |
HBASE_NON_USER_TABLE_DIRS
|
static String |
HBASE_REGION_SPLIT_POLICY_KEY
|
static String |
HBASE_REGIONSERVER_LEASE_PERIOD_KEY
HRegion server lease period in milliseconds. |
static String |
HBASE_RPC_TIMEOUT_KEY
timeout for each RPC |
static String |
HBCK_CODE_NAME
HBCK special code name used as server name when manipulating ZK nodes |
static ServerName |
HBCK_CODE_SERVERNAME
|
static String |
HBCK_SIDELINEDIR_NAME
Used by HBCK to sideline backup data |
static float |
HFILE_BLOCK_CACHE_SIZE_DEFAULT
|
static String |
HFILE_BLOCK_CACHE_SIZE_KEY
Configuration key for the size of the block cache |
static int |
HIGH_QOS
|
static String |
HREGION_COMPACTIONDIR_NAME
Used to construct the name of the compaction directory during compaction |
static String |
HREGION_LOGDIR_NAME
Used to construct the name of the log directory for a region server Use '.' as a special character to seperate the log files from table data |
static String |
HREGION_MAX_FILESIZE
Conf key for the max file size after which we split the region |
static String |
HREGION_MEMSTORE_FLUSH_SIZE
Conf key for the memstore size at which we flush the memstore |
static String |
HREGION_OLDLOGDIR_NAME
Like the previous, but for old logs that are about to be deleted |
static String |
HSTORE_OPEN_AND_CLOSE_THREADS_MAX
The max number of threads used for opening and closing stores or store files in parallel |
static String |
IN_MEMORY
|
static String |
KEY_FOR_HOSTNAME_SEEN_BY_MASTER
|
static byte[] |
LAST_ROW
Used by scanners and others when they're trying to detect the end of a table |
static long |
LATEST_TIMESTAMP
Timestamp to use when we want to refer to the latest cell. |
static byte[] |
LATEST_TIMESTAMP_BYTES
LATEST_TIMESTAMP in bytes form |
static String |
LOCALHOST
Host name of the local machine |
static String |
MAJOR_COMPACTION_PERIOD
Parameter name for how often a region should should perform a major compaction |
static String |
MASTER_IMPL
Parameter name for what master implementation to use. |
static String |
MASTER_PORT
Parameter name for port master listens on. |
static String |
MASTER_TYPE_BACKUP
Parameter name for the master type being backup (waits for primary to go inactive). |
static int |
MAX_ROW_LENGTH
Max length a row can have because of the limitation in TFile. |
static int |
MAXIMUM_VALUE_LENGTH
Maximum value length, enforced on KeyValue construction |
static int |
META_ROW_DELIMITER
delimiter used between portions of a region name |
static byte[] |
META_TABLE_NAME
The META table's name. |
static short |
META_VERSION
The current version of the meta table. |
static byte[] |
META_VERSION_QUALIFIER
The meta table version column qualifier. |
static String |
NAME
|
static String |
NINES
|
static int |
NORMAL_QOS
QOS attributes: these attributes are used to demarcate RPC call processing by different set of handlers. |
static long |
OLDEST_TIMESTAMP
Timestamp to use when we want to refer to the oldest cell. |
static int |
QOS_THRESHOLD
|
static String |
REGION_IMPL
|
static String |
REGION_SERVER_CLASS
Parameter name for what region server interface to use. |
static String |
REGION_SERVER_IMPL
Parameter name for what region server implementation to use. |
static byte[] |
REGIONINFO_QUALIFIER
The regioninfo column qualifier |
static String |
REGIONSERVER_INFO_PORT_AUTO
A flag that enables automatic selection of regionserver info port |
static String |
REGIONSERVER_PORT
Parameter name for port region server listens on. |
static String |
REPLICATION_ENABLE_KEY
|
static int |
REPLICATION_QOS
|
static int |
REPLICATION_SCOPE_GLOBAL
Scope tag for globally scoped data. |
static int |
REPLICATION_SCOPE_LOCAL
Scope tag for locally scoped data. |
static String |
REPLICATION_SERVICE_CLASSNAME_DEFAULT
|
static String |
REPLICATION_SINK_SERVICE_CLASSNAME
|
static String |
REPLICATION_SOURCE_SERVICE_CLASSNAME
|
static int[] |
RETRY_BACKOFF
This is a retry backoff multiplier table similar to the BSD TCP syn backoff table, a bit more aggressive than simple exponential backoff. |
static byte[] |
ROOT_TABLE_NAME
The root table's name. |
static byte[] |
SERVER_QUALIFIER
The server column qualifier |
static int |
SOCKET_RETRY_WAIT_MS
The delay when re-trying a socket operation in a loop (HBASE-4712) |
static String |
SPLIT_LOGDIR_NAME
Used to construct the name of the splitlog directory for a region server |
static byte[] |
SPLITA_QUALIFIER
The lower-half split region column qualifier |
static byte[] |
SPLITB_QUALIFIER
The upper-half split region column qualifier |
static byte[] |
STARTCODE_QUALIFIER
The startcode column qualifier |
static String |
THREAD_WAKE_FREQUENCY
Parameter name for how often threads should wake up |
static String |
UTF8_ENCODING
When we encode strings, we always specify UTF8 encoding |
static String |
VERSION_FILE_NAME
name of version file |
static String |
VERSION_FILE_WRITE_ATTEMPTS
Parameter name for how often we should try to write a version file, before failing |
static String |
VERSIONS
|
static int |
WEEK_IN_SECONDS
Seconds in a week |
static Long |
ZERO_L
long constant for zero |
static String |
ZEROES
|
static String |
ZK_CFG_PROPERTY_PREFIX
Common prefix of ZooKeeper configuration properties |
static int |
ZK_CFG_PROPERTY_PREFIX_LEN
|
static String |
ZK_SESSION_TIMEOUT
Configuration key for ZooKeeper session timeout |
static String |
ZOOKEEPER_CLIENT_PORT
Parameter name for the client port that the zookeeper listens on |
static String |
ZOOKEEPER_CONFIG_NAME
Name of ZooKeeper config file in conf/ directory. |
static String |
ZOOKEEPER_DATA_DIR
Parameter name for the ZK data directory |
static String |
ZOOKEEPER_MAX_CLIENT_CNXNS
Parameter name for the limit on concurrent client-side zookeeper connections |
static String |
ZOOKEEPER_QUORUM
Name of ZooKeeper quorum configuration parameter. |
static String |
ZOOKEEPER_RECOVERABLE_WAITTIME
Parameter name for the wait time for the recoverable zookeeper |
static String |
ZOOKEEPER_ZNODE_PARENT
Parameter name for the root dir in ZK for this cluster |
Method Summary |
---|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final Long ZERO_L
public static final String NINES
public static final String ZEROES
public static final String VERSION_FILE_NAME
public static final String FILE_SYSTEM_VERSION
public static final String CLUSTER_DISTRIBUTED
public static final String HBASE_MASTER_LOADBALANCER_CLASS
public static final boolean CLUSTER_IS_LOCAL
public static final boolean CLUSTER_IS_DISTRIBUTED
public static final boolean DEFAULT_CLUSTER_DISTRIBUTED
public static final String DEFAULT_HOST
public static final String MASTER_PORT
public static final int DEFAULT_MASTER_PORT
public static final int DEFAULT_MASTER_INFOPORT
public static final String MASTER_TYPE_BACKUP
public static final boolean DEFAULT_MASTER_TYPE_BACKUP
public static final String ZOOKEEPER_QUORUM
public static final String ZOOKEEPER_CONFIG_NAME
public static final String ZK_CFG_PROPERTY_PREFIX
public static final int ZK_CFG_PROPERTY_PREFIX_LEN
public static final String CLIENT_PORT_STR
public static final String ZOOKEEPER_CLIENT_PORT
public static final int DEFAULT_ZOOKEPER_CLIENT_PORT
public static final String ZOOKEEPER_RECOVERABLE_WAITTIME
public static final long DEFAULT_ZOOKEPER_RECOVERABLE_WAITIME
public static final String ZOOKEEPER_ZNODE_PARENT
public static final String DEFAULT_ZOOKEEPER_ZNODE_PARENT
public static final String ZOOKEEPER_MAX_CLIENT_CNXNS
public static final String ZOOKEEPER_DATA_DIR
public static final int DEFAULT_ZOOKEPER_MAX_CLIENT_CNXNS
public static final String ZK_SESSION_TIMEOUT
public static final int DEFAULT_ZK_SESSION_TIMEOUT
public static final String REGIONSERVER_PORT
public static final int DEFAULT_REGIONSERVER_PORT
public static final int DEFAULT_REGIONSERVER_INFOPORT
public static final String REGIONSERVER_INFO_PORT_AUTO
public static final String REGION_SERVER_CLASS
public static final String REGION_SERVER_IMPL
public static final String DEFAULT_REGION_SERVER_CLASS
public static final String MASTER_IMPL
public static final String THREAD_WAKE_FREQUENCY
public static final int DEFAULT_THREAD_WAKE_FREQUENCY
public static final String VERSION_FILE_WRITE_ATTEMPTS
public static final int DEFAULT_VERSION_FILE_WRITE_ATTEMPTS
public static final String MAJOR_COMPACTION_PERIOD
public static final String COMPACTION_KV_MAX
public static final String HBASE_DIR
public static final String HBASE_CLIENT_IPC_POOL_TYPE
public static final String HBASE_CLIENT_IPC_POOL_SIZE
public static final String HBASE_CLIENT_OPERATION_TIMEOUT
public static final int DEFAULT_HBASE_CLIENT_OPERATION_TIMEOUT
public static final String HREGION_LOGDIR_NAME
public static final String SPLIT_LOGDIR_NAME
public static final String CORRUPT_DIR_NAME
public static final String HREGION_OLDLOGDIR_NAME
public static final String HBCK_SIDELINEDIR_NAME
public static final String HREGION_COMPACTIONDIR_NAME
public static final String HREGION_MAX_FILESIZE
public static final long DEFAULT_MAX_FILE_SIZE
public static final String HSTORE_OPEN_AND_CLOSE_THREADS_MAX
public static final int DEFAULT_HSTORE_OPEN_AND_CLOSE_THREADS_MAX
public static final String HREGION_MEMSTORE_FLUSH_SIZE
public static final int DEFAULT_SIZE_RESERVATION_BLOCK
public static final int MAXIMUM_VALUE_LENGTH
public static final String CLUSTER_ID_FILE_NAME
public static final String CLUSTER_ID
public static final byte[] ROOT_TABLE_NAME
public static final byte[] META_TABLE_NAME
public static final int META_ROW_DELIMITER
public static final String CATALOG_FAMILY_STR
public static final byte[] CATALOG_FAMILY
public static final byte[] REGIONINFO_QUALIFIER
public static final byte[] SERVER_QUALIFIER
public static final byte[] STARTCODE_QUALIFIER
public static final byte[] SPLITA_QUALIFIER
public static final byte[] SPLITB_QUALIFIER
public static final byte[] META_VERSION_QUALIFIER
-ROOT-
table: i.e. in the 'info:v' column.
public static final short META_VERSION
public static final byte[] EMPTY_BYTE_ARRAY
public static final byte[] EMPTY_START_ROW
public static final byte[] EMPTY_END_ROW
public static final byte[] LAST_ROW
public static final int MAX_ROW_LENGTH
public static final String UTF8_ENCODING
public static final long LATEST_TIMESTAMP
public static final long OLDEST_TIMESTAMP
public static final byte[] LATEST_TIMESTAMP_BYTES
public static final int ALL_VERSIONS
public static final int FOREVER
public static final int WEEK_IN_SECONDS
public static final String NAME
public static final String VERSIONS
public static final String IN_MEMORY
public static int[] RETRY_BACKOFF
public static final String REGION_IMPL
public static final int REPLICATION_SCOPE_LOCAL
public static final int REPLICATION_SCOPE_GLOBAL
public static final UUID DEFAULT_CLUSTER_ID
public static String HBASE_CLIENT_SCANNER_MAX_RESULT_SIZE_KEY
public static long DEFAULT_HBASE_CLIENT_SCANNER_MAX_RESULT_SIZE
public static String HBASE_CLIENT_PAUSE
public static long DEFAULT_HBASE_CLIENT_PAUSE
HBASE_CLIENT_PAUSE
.
public static String HBASE_CLIENT_RETRIES_NUMBER
public static int DEFAULT_HBASE_CLIENT_RETRIES_NUMBER
HBASE_CLIENT_RETRIES_NUMBER
.
public static String HBASE_CLIENT_RPC_MAXATTEMPTS
public static int DEFAULT_HBASE_CLIENT_RPC_MAXATTEMPTS
HBASE_CLIENT_RPC_MAXATTEMPTS
.
public static String HBASE_CLIENT_PREFETCH_LIMIT
public static int DEFAULT_HBASE_CLIENT_PREFETCH_LIMIT
HBASE_CLIENT_PREFETCH_LIMIT
.
public static String HBASE_META_SCANNER_CACHING
public static int DEFAULT_HBASE_META_SCANNER_CACHING
HBASE_META_SCANNER_CACHING
.
public static String HBASE_CLIENT_INSTANCE_ID
Configuration
instance. If there are two or more Configuration
instances that,
for all intents and purposes, are the same except for their instance ids,
then they will not be able to share the same HConnection
instance.
On the other hand, even if the instance ids are the same, it could result
in non-shared HConnection
instances if some of the other connection parameters differ.
public static String HBASE_REGIONSERVER_LEASE_PERIOD_KEY
public static long DEFAULT_HBASE_REGIONSERVER_LEASE_PERIOD
HBASE_REGIONSERVER_LEASE_PERIOD_KEY
.
public static String HBASE_RPC_TIMEOUT_KEY
public static int DEFAULT_HBASE_RPC_TIMEOUT
HBASE_RPC_TIMEOUT_KEY
public static final String REPLICATION_ENABLE_KEY
public static final String REPLICATION_SOURCE_SERVICE_CLASSNAME
public static final String REPLICATION_SINK_SERVICE_CLASSNAME
public static final String REPLICATION_SERVICE_CLASSNAME_DEFAULT
public static final String HBCK_CODE_NAME
public static final ServerName HBCK_CODE_SERVERNAME
public static final String KEY_FOR_HOSTNAME_SEEN_BY_MASTER
public static final String HBASE_MASTER_LOGCLEANER_PLUGINS
public static final String HBASE_REGION_SPLIT_POLICY_KEY
public static final String HFILE_BLOCK_CACHE_SIZE_KEY
public static final float HFILE_BLOCK_CACHE_SIZE_DEFAULT
public static final float HBASE_CLUSTER_MINIMUM_MEMORY_THRESHOLD
public static final List<String> HBASE_NON_USER_TABLE_DIRS
public static final Pattern CP_HTD_ATTR_KEY_PATTERN
public static final Pattern CP_HTD_ATTR_VALUE_PATTERN
public static final String CP_HTD_ATTR_VALUE_PARAM_KEY_PATTERN
public static final String CP_HTD_ATTR_VALUE_PARAM_VALUE_PATTERN
public static final Pattern CP_HTD_ATTR_VALUE_PARAM_PATTERN
public static final int SOCKET_RETRY_WAIT_MS
public static final String LOCALHOST
public static final String ENABLE_DATA_FILE_UMASK
public static final String DATA_FILE_UMASK_KEY
public static final String HBASE_CHECKSUM_VERIFICATION
public static final String BYTES_PER_CHECKSUM
public static final String CHECKSUM_TYPE_NAME
public static final String ENABLE_WAL_COMPRESSION
public static final int NORMAL_QOS
public static final int QOS_THRESHOLD
public static final int HIGH_QOS
public static final int REPLICATION_QOS
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |