|
||||||||||
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 byte[] |
CATALOG_FAMILY
The catalog family |
static String |
CATALOG_FAMILY_STR
The catalog family as a string |
static String |
CLUSTER_DISTRIBUTED
Cluster is in distributed mode or not |
static String |
CLUSTER_IS_DISTRIBUTED
Cluster is fully-distributed |
static String |
CLUSTER_IS_LOCAL
Cluster is standalone or pseudo-distributed |
static byte |
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 long |
DEFAULT_HBASE_CLIENT_SCANNER_MAX_RESULT_SIZE
Maximum number of bytes returned when calling a scanner's next method. |
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_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 String |
DEFAULT_ZOOKEEPER_ZNODE_PARENT
|
static int |
DEFAULT_ZOOKEPER_CLIENT_PORT
default client port that the zookeeper listens on |
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 |
FILE_SYSTEM_VERSION
Current version of file system. |
static int |
FOREVER
Unlimited time-to-live. |
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_LOGCLEANER_PLUGINS
|
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 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_OLDLOGDIR_NAME
Like the previous, but for old logs that are about to be deleted |
static String |
IN_MEMORY
|
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 |
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 String |
NAME
|
static String |
NINES
|
static long |
OLDEST_TIMESTAMP
Timestamp to use when we want to refer to the oldest cell. |
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_PORT
Parameter name for port region server listens on. |
static String |
REPLICATION_ENABLE_KEY
|
static int |
REPLICATION_SCOPE_GLOBAL
Scope tag for globally scoped data. |
static int |
REPLICATION_SCOPE_LOCAL
Scope tag for locally scoped data. |
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 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 |
VERSIONS
|
static int |
WEEK_IN_SECONDS
Seconds in a week |
static Long |
ZERO_L
long constant for zero |
static String |
ZEROES
|
static String |
ZOOKEEPER_CONFIG_NAME
Name of ZooKeeper config file in conf/ directory. |
static String |
ZOOKEEPER_QUORUM
Name of ZooKeeper quorum configuration parameter. |
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 CLUSTER_IS_LOCAL
public static final String CLUSTER_IS_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 int DEFAULT_ZOOKEPER_CLIENT_PORT
public static final String ZOOKEEPER_ZNODE_PARENT
public static final String DEFAULT_ZOOKEEPER_ZNODE_PARENT
public static final String REGIONSERVER_PORT
public static final int DEFAULT_REGIONSERVER_PORT
public static final int DEFAULT_REGIONSERVER_INFOPORT
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 MAJOR_COMPACTION_PERIOD
public static final String HBASE_DIR
public static final String HREGION_LOGDIR_NAME
public static final String HREGION_OLDLOGDIR_NAME
public static final String HREGION_COMPACTIONDIR_NAME
public static final long DEFAULT_MAX_FILE_SIZE
public static final int DEFAULT_SIZE_RESERVATION_BLOCK
public static final int MAXIMUM_VALUE_LENGTH
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[] 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 byte 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_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 HBCK_CODE_NAME
public static final String HBASE_MASTER_LOGCLEANER_PLUGINS
public static final float HBASE_CLUSTER_MINIMUM_MEMORY_THRESHOLD
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |