org.apache.accumulo.core
Class Constants

java.lang.Object
  extended by org.apache.accumulo.core.Constants

public class Constants
extends Object


Field Summary
static String BULK_ARBITRATOR_TYPE
           
static String BULK_PREFIX
           
static int CLIENT_RETRIES
           
static long CLIENT_SLEEP_BEFORE_RECONNECT
           
static String CORE_PACKAGE_NAME
           
static int DATA_VERSION
           
static int DEFAULT_MINOR_COMPACTION_MAX_SLEEP_TIME
           
static String DEFAULT_TABLET_LOCATION
           
static String MAPFILE_EXTENSION
           
static int MASTER_TABLETSERVER_CONNECTION_TIMEOUT
           
static int MAX_DATA_TO_PRINT
           
static String METADATA_BLIP_FLAG_PREFIX
           
static Range METADATA_BLIP_KEYSPACE
           
static org.apache.hadoop.io.Text METADATA_BULKFILE_COLUMN_FAMILY
           
static ColumnFQ METADATA_CHOPPED_COLUMN
           
static org.apache.hadoop.io.Text METADATA_CHOPPED_COLUMN_FAMILY
           
static org.apache.hadoop.io.Text METADATA_CLONED_COLUMN_FAMILY
           
static ColumnFQ METADATA_COMPACT_COLUMN
           
static org.apache.hadoop.io.Text METADATA_CURRENT_LOCATION_COLUMN_FAMILY
           
static org.apache.hadoop.io.Text METADATA_DATAFILE_COLUMN_FAMILY
           
static String METADATA_DELETE_FLAG_PREFIX
           
static Range METADATA_DELETES_KEYSPACE
           
static ColumnFQ METADATA_DIRECTORY_COLUMN
           
static ColumnFQ METADATA_FLUSH_COLUMN
           
static org.apache.hadoop.io.Text METADATA_FUTURE_LOCATION_COLUMN_FAMILY
           
static Range METADATA_KEYSPACE
           
static org.apache.hadoop.io.Text METADATA_LAST_LOCATION_COLUMN_FAMILY
           
static ColumnFQ METADATA_LOCK_COLUMN
           
static org.apache.hadoop.io.Text METADATA_LOG_COLUMN_FAMILY
           
static ColumnFQ METADATA_OLD_PREV_ROW_COLUMN
           
static ColumnFQ METADATA_PREV_ROW_COLUMN
           
static Range METADATA_RESERVED_KEYSPACE
           
static Key METADATA_RESERVED_KEYSPACE_START_KEY
           
static Key METADATA_RESERVED_KEYSPACE_STOP_KEY
           
static org.apache.hadoop.io.Text METADATA_SCANFILE_COLUMN_FAMILY
           
static org.apache.hadoop.io.Text METADATA_SERVER_COLUMN_FAMILY
           
static ColumnFQ METADATA_SPLIT_RATIO_COLUMN
           
static String METADATA_TABLE_ID
           
static String METADATA_TABLE_NAME
           
static org.apache.hadoop.io.Text METADATA_TABLET_COLUMN_FAMILY
           
static ColumnFQ METADATA_TIME_COLUMN
           
static long MIN_MASTER_LOOP_TIME
           
static Authorizations NO_AUTHS
           
static Range NON_ROOT_METADATA_KEYSPACE
           
static String OLD_BULK_PREFIX
           
static String OLD_PACKAGE_NAME
           
static int PREV_DATA_VERSION
           
static String PW_HASH_ALGORITHM
           
static KeyExtent ROOT_TABLET_EXTENT
           
static int SCAN_BATCH_SIZE
           
static String TABLE_TABLET_LOCATION
           
static int TSERV_MINC_MAXCONCURRENT_NUMWAITING_MULTIPLIER
           
static String VALID_TABLE_NAME_REGEX
           
static String VALUE_ENCODING
           
static String VERSION
           
static String ZCONFIG
           
static String ZDEAD
           
static String ZDEADLOGGERS
           
static String ZDEADTSERVERS
           
static String ZFATE
           
static String ZGC
           
static String ZGC_LOCK
           
static String ZHDFS_RESERVATIONS
           
static String ZINSTANCES
           
static String ZLOGGERS
           
static String ZMASTER_GOAL_STATE
           
static String ZMASTER_LOCK
           
static String ZMASTERS
           
static String ZNEXT_FILE
           
static String ZPROBLEMS
           
static String ZROOT
           
static String ZROOT_TABLET
           
static String ZROOT_TABLET_FUTURE_LOCATION
           
static String ZROOT_TABLET_LAST_LOCATION
           
static String ZROOT_TABLET_LOCATION
           
static String ZROOT_TABLET_WALOGS
           
static String ZTABLE_COMPACT_ID
           
static String ZTABLE_CONF
           
static String ZTABLE_FLUSH_ID
           
static String ZTABLE_LOCKS
           
static String ZTABLE_NAME
           
static String ZTABLE_STATE
           
static String ZTABLES
           
static byte[] ZTABLES_INITIAL_ID
           
static String ZTRACERS
           
static String ZTSERVERS
           
static String ZUSERS
           
 
Constructor Summary
Constants()
           
 
Method Summary
static String getBaseDir(AccumuloConfiguration conf)
           
static org.apache.hadoop.fs.Path getDataVersionLocation(AccumuloConfiguration conf)
           
static String getMetadataTableDir(AccumuloConfiguration conf)
           
static String getRecoveryDir(AccumuloConfiguration conf)
           
static String getRootTabletDir(AccumuloConfiguration conf)
           
static String getTablesDir(AccumuloConfiguration conf)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

VERSION

public static final String VERSION
See Also:
Constant Field Values

DATA_VERSION

public static final int DATA_VERSION
See Also:
Constant Field Values

PREV_DATA_VERSION

public static final int PREV_DATA_VERSION
See Also:
Constant Field Values

ZROOT

public static final String ZROOT
See Also:
Constant Field Values

ZINSTANCES

public static final String ZINSTANCES
See Also:
Constant Field Values

ZTABLES

public static final String ZTABLES
See Also:
Constant Field Values

ZTABLES_INITIAL_ID

public static final byte[] ZTABLES_INITIAL_ID

ZTABLE_NAME

public static final String ZTABLE_NAME
See Also:
Constant Field Values

ZTABLE_CONF

public static final String ZTABLE_CONF
See Also:
Constant Field Values

ZTABLE_STATE

public static final String ZTABLE_STATE
See Also:
Constant Field Values

ZTABLE_FLUSH_ID

public static final String ZTABLE_FLUSH_ID
See Also:
Constant Field Values

ZTABLE_COMPACT_ID

public static final String ZTABLE_COMPACT_ID
See Also:
Constant Field Values

ZROOT_TABLET

public static final String ZROOT_TABLET
See Also:
Constant Field Values

ZROOT_TABLET_LOCATION

public static final String ZROOT_TABLET_LOCATION
See Also:
Constant Field Values

ZROOT_TABLET_FUTURE_LOCATION

public static final String ZROOT_TABLET_FUTURE_LOCATION
See Also:
Constant Field Values

ZROOT_TABLET_LAST_LOCATION

public static final String ZROOT_TABLET_LAST_LOCATION
See Also:
Constant Field Values

ZROOT_TABLET_WALOGS

public static final String ZROOT_TABLET_WALOGS
See Also:
Constant Field Values

ZMASTERS

public static final String ZMASTERS
See Also:
Constant Field Values

ZMASTER_LOCK

public static final String ZMASTER_LOCK
See Also:
Constant Field Values

ZMASTER_GOAL_STATE

public static final String ZMASTER_GOAL_STATE
See Also:
Constant Field Values

ZGC

public static final String ZGC
See Also:
Constant Field Values

ZGC_LOCK

public static final String ZGC_LOCK
See Also:
Constant Field Values

ZCONFIG

public static final String ZCONFIG
See Also:
Constant Field Values

ZTSERVERS

public static final String ZTSERVERS
See Also:
Constant Field Values

ZDEAD

public static final String ZDEAD
See Also:
Constant Field Values

ZDEADTSERVERS

public static final String ZDEADTSERVERS
See Also:
Constant Field Values

ZDEADLOGGERS

public static final String ZDEADLOGGERS
See Also:
Constant Field Values

ZLOGGERS

public static final String ZLOGGERS
See Also:
Constant Field Values

ZTRACERS

public static final String ZTRACERS
See Also:
Constant Field Values

ZPROBLEMS

public static final String ZPROBLEMS
See Also:
Constant Field Values

ZUSERS

public static final String ZUSERS
See Also:
Constant Field Values

BULK_ARBITRATOR_TYPE

public static final String BULK_ARBITRATOR_TYPE
See Also:
Constant Field Values

ZFATE

public static final String ZFATE
See Also:
Constant Field Values

ZNEXT_FILE

public static final String ZNEXT_FILE
See Also:
Constant Field Values

ZHDFS_RESERVATIONS

public static final String ZHDFS_RESERVATIONS
See Also:
Constant Field Values

METADATA_TABLE_ID

public static final String METADATA_TABLE_ID
See Also:
Constant Field Values

METADATA_TABLE_NAME

public static final String METADATA_TABLE_NAME
See Also:
Constant Field Values

DEFAULT_TABLET_LOCATION

public static final String DEFAULT_TABLET_LOCATION
See Also:
Constant Field Values

TABLE_TABLET_LOCATION

public static final String TABLE_TABLET_LOCATION
See Also:
Constant Field Values

ZTABLE_LOCKS

public static final String ZTABLE_LOCKS
See Also:
Constant Field Values

METADATA_RESERVED_KEYSPACE_START_KEY

public static final Key METADATA_RESERVED_KEYSPACE_START_KEY

METADATA_RESERVED_KEYSPACE_STOP_KEY

public static final Key METADATA_RESERVED_KEYSPACE_STOP_KEY

METADATA_RESERVED_KEYSPACE

public static final Range METADATA_RESERVED_KEYSPACE

METADATA_DELETE_FLAG_PREFIX

public static final String METADATA_DELETE_FLAG_PREFIX
See Also:
Constant Field Values

METADATA_DELETES_KEYSPACE

public static final Range METADATA_DELETES_KEYSPACE

METADATA_BLIP_FLAG_PREFIX

public static final String METADATA_BLIP_FLAG_PREFIX
See Also:
Constant Field Values

METADATA_BLIP_KEYSPACE

public static final Range METADATA_BLIP_KEYSPACE

METADATA_SERVER_COLUMN_FAMILY

public static final org.apache.hadoop.io.Text METADATA_SERVER_COLUMN_FAMILY

METADATA_TABLET_COLUMN_FAMILY

public static final org.apache.hadoop.io.Text METADATA_TABLET_COLUMN_FAMILY

METADATA_CURRENT_LOCATION_COLUMN_FAMILY

public static final org.apache.hadoop.io.Text METADATA_CURRENT_LOCATION_COLUMN_FAMILY

METADATA_FUTURE_LOCATION_COLUMN_FAMILY

public static final org.apache.hadoop.io.Text METADATA_FUTURE_LOCATION_COLUMN_FAMILY

METADATA_LAST_LOCATION_COLUMN_FAMILY

public static final org.apache.hadoop.io.Text METADATA_LAST_LOCATION_COLUMN_FAMILY

METADATA_BULKFILE_COLUMN_FAMILY

public static final org.apache.hadoop.io.Text METADATA_BULKFILE_COLUMN_FAMILY

METADATA_CLONED_COLUMN_FAMILY

public static final org.apache.hadoop.io.Text METADATA_CLONED_COLUMN_FAMILY

METADATA_PREV_ROW_COLUMN

public static final ColumnFQ METADATA_PREV_ROW_COLUMN

METADATA_OLD_PREV_ROW_COLUMN

public static final ColumnFQ METADATA_OLD_PREV_ROW_COLUMN

METADATA_DIRECTORY_COLUMN

public static final ColumnFQ METADATA_DIRECTORY_COLUMN

METADATA_TIME_COLUMN

public static final ColumnFQ METADATA_TIME_COLUMN

METADATA_FLUSH_COLUMN

public static final ColumnFQ METADATA_FLUSH_COLUMN

METADATA_COMPACT_COLUMN

public static final ColumnFQ METADATA_COMPACT_COLUMN

METADATA_SPLIT_RATIO_COLUMN

public static final ColumnFQ METADATA_SPLIT_RATIO_COLUMN

METADATA_LOCK_COLUMN

public static final ColumnFQ METADATA_LOCK_COLUMN

METADATA_DATAFILE_COLUMN_FAMILY

public static final org.apache.hadoop.io.Text METADATA_DATAFILE_COLUMN_FAMILY

METADATA_SCANFILE_COLUMN_FAMILY

public static final org.apache.hadoop.io.Text METADATA_SCANFILE_COLUMN_FAMILY

METADATA_LOG_COLUMN_FAMILY

public static final org.apache.hadoop.io.Text METADATA_LOG_COLUMN_FAMILY

METADATA_CHOPPED_COLUMN_FAMILY

public static final org.apache.hadoop.io.Text METADATA_CHOPPED_COLUMN_FAMILY

METADATA_CHOPPED_COLUMN

public static final ColumnFQ METADATA_CHOPPED_COLUMN

NON_ROOT_METADATA_KEYSPACE

public static final Range NON_ROOT_METADATA_KEYSPACE

METADATA_KEYSPACE

public static final Range METADATA_KEYSPACE

ROOT_TABLET_EXTENT

public static final KeyExtent ROOT_TABLET_EXTENT

VALUE_ENCODING

public static final String VALUE_ENCODING
See Also:
Constant Field Values

BULK_PREFIX

public static final String BULK_PREFIX
See Also:
Constant Field Values

OLD_BULK_PREFIX

public static final String OLD_BULK_PREFIX
See Also:
Constant Field Values

SCAN_BATCH_SIZE

public static final int SCAN_BATCH_SIZE
See Also:
Constant Field Values

MIN_MASTER_LOOP_TIME

public static final long MIN_MASTER_LOOP_TIME
See Also:
Constant Field Values

MASTER_TABLETSERVER_CONNECTION_TIMEOUT

public static final int MASTER_TABLETSERVER_CONNECTION_TIMEOUT
See Also:
Constant Field Values

CLIENT_SLEEP_BEFORE_RECONNECT

public static final long CLIENT_SLEEP_BEFORE_RECONNECT
See Also:
Constant Field Values

PW_HASH_ALGORITHM

public static final String PW_HASH_ALGORITHM
See Also:
Constant Field Values

NO_AUTHS

public static final Authorizations NO_AUTHS

DEFAULT_MINOR_COMPACTION_MAX_SLEEP_TIME

public static final int DEFAULT_MINOR_COMPACTION_MAX_SLEEP_TIME
See Also:
Constant Field Values

MAX_DATA_TO_PRINT

public static final int MAX_DATA_TO_PRINT
See Also:
Constant Field Values

CLIENT_RETRIES

public static final int CLIENT_RETRIES
See Also:
Constant Field Values

TSERV_MINC_MAXCONCURRENT_NUMWAITING_MULTIPLIER

public static final int TSERV_MINC_MAXCONCURRENT_NUMWAITING_MULTIPLIER
See Also:
Constant Field Values

CORE_PACKAGE_NAME

public static final String CORE_PACKAGE_NAME
See Also:
Constant Field Values

OLD_PACKAGE_NAME

public static final String OLD_PACKAGE_NAME
See Also:
Constant Field Values

VALID_TABLE_NAME_REGEX

public static final String VALID_TABLE_NAME_REGEX
See Also:
Constant Field Values

MAPFILE_EXTENSION

public static final String MAPFILE_EXTENSION
See Also:
Constant Field Values
Constructor Detail

Constants

public Constants()
Method Detail

getBaseDir

public static String getBaseDir(AccumuloConfiguration conf)

getTablesDir

public static String getTablesDir(AccumuloConfiguration conf)

getRecoveryDir

public static String getRecoveryDir(AccumuloConfiguration conf)

getDataVersionLocation

public static org.apache.hadoop.fs.Path getDataVersionLocation(AccumuloConfiguration conf)

getMetadataTableDir

public static String getMetadataTableDir(AccumuloConfiguration conf)

getRootTabletDir

public static String getRootTabletDir(AccumuloConfiguration conf)


Copyright © 2012 The Apache Software Foundation. All Rights Reserved.