org.apache.hadoop.hbase
Interface HConstants

All Known Implementing Classes:
HConnectionManager, HLog, HMaster, HQuorumPeer, HRegion, HRegionServer, HStoreFile, IndexedRegionServer, LocalHBaseCluster, ServerConnectionManager, Store, StoreFile, TransactionalRegion, TransactionalRegionServer, ZKServerTool, ZooKeeperWrapper

public interface HConstants

HConstants holds a bunch of HBase-related constants


Nested Class Summary
static class HConstants.Modify
          modifyTable op for replacing the table descriptor
 
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 byte[] CATALOG_HISTORIAN_FAMILY
          The catalog historian family
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 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 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_ZOOKEEPER_PAUSE
          Default ZooKeeper pause value.
static int DEFAULT_ZOOKEEPER_RETRIES
          Default number of times to retry writes to 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 FILE_SYSTEM_VERSION
          Current version of file system.
static int FOREVER
          Unlimited time-to-live.
static String HBASE_CLIENT_RETRIES_NUMBER_KEY
           
static String HBASE_DIR
          Parameter name for HBase instance root directory
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_OLDLOGFILE_NAME
          Name of old log file for reconstruction
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_PORT
          Parameter name for port master listens on.
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 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 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_PAUSE
          Parameter name for ZooKeeper pause between retries.
static String ZOOKEEPER_QUORUM
          Name of ZooKeeper quorum configuration parameter.
static String ZOOKEEPER_RETRIES
          Parameter name for number of times to retry writes to ZooKeeper.
 

Field Detail

ZERO_L

static final Long ZERO_L
long constant for zero


NINES

static final String NINES
See Also:
Constant Field Values

ZEROES

static final String ZEROES
See Also:
Constant Field Values

VERSION_FILE_NAME

static final String VERSION_FILE_NAME
name of version file

See Also:
Constant Field Values

FILE_SYSTEM_VERSION

static final String FILE_SYSTEM_VERSION
Current version of file system. Version 4 supports only one kind of bloom filter. Version 5 changes versions in catalog table regions. Version 6 enables blockcaching on catalog tables. Version 7 introduces hfile -- hbase 0.19 to 0.20..

See Also:
Constant Field Values

CLUSTER_DISTRIBUTED

static final String CLUSTER_DISTRIBUTED
Cluster is in distributed mode or not

See Also:
Constant Field Values

CLUSTER_IS_LOCAL

static final String CLUSTER_IS_LOCAL
Cluster is standalone or pseudo-distributed

See Also:
Constant Field Values

CLUSTER_IS_DISTRIBUTED

static final String CLUSTER_IS_DISTRIBUTED
Cluster is fully-distributed

See Also:
Constant Field Values

DEFAULT_HOST

static final String DEFAULT_HOST
default host address

See Also:
Constant Field Values

MASTER_PORT

static final String MASTER_PORT
Parameter name for port master listens on.

See Also:
Constant Field Values

DEFAULT_MASTER_PORT

static final int DEFAULT_MASTER_PORT
default port that the master listens on

See Also:
Constant Field Values

DEFAULT_MASTER_INFOPORT

static final int DEFAULT_MASTER_INFOPORT
default port for master web api

See Also:
Constant Field Values

ZOOKEEPER_QUORUM

static final String ZOOKEEPER_QUORUM
Name of ZooKeeper quorum configuration parameter.

See Also:
Constant Field Values

ZOOKEEPER_CONFIG_NAME

static final String ZOOKEEPER_CONFIG_NAME
Name of ZooKeeper config file in conf/ directory.

See Also:
Constant Field Values

ZOOKEEPER_RETRIES

static final String ZOOKEEPER_RETRIES
Parameter name for number of times to retry writes to ZooKeeper.

See Also:
Constant Field Values

DEFAULT_ZOOKEEPER_RETRIES

static final int DEFAULT_ZOOKEEPER_RETRIES
Default number of times to retry writes to ZooKeeper.

See Also:
Constant Field Values

ZOOKEEPER_PAUSE

static final String ZOOKEEPER_PAUSE
Parameter name for ZooKeeper pause between retries. In milliseconds.

See Also:
Constant Field Values

DEFAULT_ZOOKEEPER_PAUSE

static final int DEFAULT_ZOOKEEPER_PAUSE
Default ZooKeeper pause value. In milliseconds.

See Also:
Constant Field Values

REGIONSERVER_PORT

static final String REGIONSERVER_PORT
Parameter name for port region server listens on.

See Also:
Constant Field Values

DEFAULT_REGIONSERVER_PORT

static final int DEFAULT_REGIONSERVER_PORT
Default port region server listens on.

See Also:
Constant Field Values

DEFAULT_REGIONSERVER_INFOPORT

static final int DEFAULT_REGIONSERVER_INFOPORT
default port for region server web api

See Also:
Constant Field Values

REGION_SERVER_CLASS

static final String REGION_SERVER_CLASS
Parameter name for what region server interface to use.

See Also:
Constant Field Values

REGION_SERVER_IMPL

static final String REGION_SERVER_IMPL
Parameter name for what region server implementation to use.

See Also:
Constant Field Values

DEFAULT_REGION_SERVER_CLASS

static final String DEFAULT_REGION_SERVER_CLASS
Default region server interface class name.


THREAD_WAKE_FREQUENCY

static final String THREAD_WAKE_FREQUENCY
Parameter name for how often threads should wake up

See Also:
Constant Field Values

MAJOR_COMPACTION_PERIOD

static final String MAJOR_COMPACTION_PERIOD
Parameter name for how often a region should should perform a major compaction

See Also:
Constant Field Values

HBASE_DIR

static final String HBASE_DIR
Parameter name for HBase instance root directory

See Also:
Constant Field Values

HREGION_LOGDIR_NAME

static final 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

See Also:
Constant Field Values

HREGION_OLDLOGFILE_NAME

static final String HREGION_OLDLOGFILE_NAME
Name of old log file for reconstruction

See Also:
Constant Field Values

HREGION_COMPACTIONDIR_NAME

static final String HREGION_COMPACTIONDIR_NAME
Used to construct the name of the compaction directory during compaction

See Also:
Constant Field Values

DEFAULT_MAX_FILE_SIZE

static final long DEFAULT_MAX_FILE_SIZE
Default maximum file size

See Also:
Constant Field Values

DEFAULT_SIZE_RESERVATION_BLOCK

static final int DEFAULT_SIZE_RESERVATION_BLOCK
Default size of a reservation block

See Also:
Constant Field Values

MAXIMUM_VALUE_LENGTH

static final int MAXIMUM_VALUE_LENGTH
Maximum value length, enforced on KeyValue construction

See Also:
Constant Field Values

ROOT_TABLE_NAME

static final byte[] ROOT_TABLE_NAME
The root table's name.


META_TABLE_NAME

static final byte[] META_TABLE_NAME
The META table's name.


META_ROW_DELIMITER

static final int META_ROW_DELIMITER
delimiter used between portions of a region name

See Also:
Constant Field Values

CATALOG_FAMILY_STR

static final String CATALOG_FAMILY_STR
The catalog family as a string

See Also:
Constant Field Values

CATALOG_FAMILY

static final byte[] CATALOG_FAMILY
The catalog family


CATALOG_HISTORIAN_FAMILY

static final byte[] CATALOG_HISTORIAN_FAMILY
The catalog historian family


REGIONINFO_QUALIFIER

static final byte[] REGIONINFO_QUALIFIER
The regioninfo column qualifier


SERVER_QUALIFIER

static final byte[] SERVER_QUALIFIER
The server column qualifier


STARTCODE_QUALIFIER

static final byte[] STARTCODE_QUALIFIER
The startcode column qualifier


SPLITA_QUALIFIER

static final byte[] SPLITA_QUALIFIER
The lower-half split region column qualifier


SPLITB_QUALIFIER

static final byte[] SPLITB_QUALIFIER
The upper-half split region column qualifier


EMPTY_BYTE_ARRAY

static final byte[] EMPTY_BYTE_ARRAY
An empty instance.


EMPTY_START_ROW

static final byte[] EMPTY_START_ROW
Used by scanners, etc when they want to start at the beginning of a region


EMPTY_END_ROW

static final byte[] EMPTY_END_ROW
Last row in a table.


LAST_ROW

static final byte[] LAST_ROW
Used by scanners and others when they're trying to detect the end of a table


MAX_ROW_LENGTH

static final int MAX_ROW_LENGTH
Max length a row can have because of the limitation in TFile.

See Also:
Constant Field Values

UTF8_ENCODING

static final String UTF8_ENCODING
When we encode strings, we always specify UTF8 encoding

See Also:
Constant Field Values

LATEST_TIMESTAMP

static final long LATEST_TIMESTAMP
Timestamp to use when we want to refer to the latest cell. This is the timestamp sent by clients when no timestamp is specified on commit.

See Also:
Constant Field Values

LATEST_TIMESTAMP_BYTES

static final byte[] LATEST_TIMESTAMP_BYTES
LATEST_TIMESTAMP in bytes form


ALL_VERSIONS

static final int ALL_VERSIONS
Define for 'return-all-versions'.

See Also:
Constant Field Values

FOREVER

static final int FOREVER
Unlimited time-to-live.

See Also:
Constant Field Values

WEEK_IN_SECONDS

static final int WEEK_IN_SECONDS
Seconds in a week

See Also:
Constant Field Values

HBASE_CLIENT_RETRIES_NUMBER_KEY

static final String HBASE_CLIENT_RETRIES_NUMBER_KEY
See Also:
Constant Field Values

NAME

static final String NAME
See Also:
Constant Field Values

VERSIONS

static final String VERSIONS
See Also:
Constant Field Values

IN_MEMORY

static final String IN_MEMORY
See Also:
Constant Field Values

RETRY_BACKOFF

static final 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.



Copyright © 2009 The Apache Software Foundation