public class ServerConstants extends Object
Modifier and Type | Field and Description |
---|---|
static BitSet |
CAN_UPGRADE |
static int |
DATA_VERSION
this is the current data version
|
static String |
FILE_ARCHIVE_DIR |
static String |
INSTANCE_ID_DIR |
static int |
LOGGING_TO_HDFS
version (4) moves logging to HDFS in 1.5.0
|
static int |
MOVE_DELETE_MARKERS
version (5) moves delete file markers for the metadata table into the root tablet
|
static int |
MOVE_TO_REPLICATION_TABLE
version (7) also reflects the addition of a replication table
|
static int |
MOVE_TO_ROOT_TABLE
version (6) reflects the addition of a separate root table (ACCUMULO-1481) in version 1.6.0
|
static BitSet |
NEEDS_UPGRADE |
static String |
RECOVERY_DIR |
static int |
SHORTEN_RFILE_KEYS
version (8) reflects changes to RFile index (ACCUMULO-1124) in version 1.8.0
|
static String |
TABLE_DIR |
static String |
VERSION_DIR |
static String |
WAL_DIR |
static String |
WALOG_ARCHIVE_DIR |
static Integer |
WIRE_VERSION
current version (3) reflects additional namespace operations (ACCUMULO-802) in version
1.6.0
(versions should never be negative) |
Constructor and Description |
---|
ServerConstants() |
Modifier and Type | Method and Description |
---|---|
static String[] |
checkBaseUris(String[] configuredBaseDirs,
boolean ignore) |
static String[] |
getBaseUris() |
static org.apache.hadoop.fs.Path |
getDataVersionLocation(Volume v) |
static org.apache.hadoop.fs.Path |
getInstanceIdLocation(Volume v) |
static String[] |
getRecoveryDirs() |
static String[] |
getTablesDirs() |
static List<Pair<org.apache.hadoop.fs.Path,org.apache.hadoop.fs.Path>> |
getVolumeReplacements() |
static String[] |
getWalDirs() |
static String[] |
getWalogArchives() |
public static final String VERSION_DIR
public static final String INSTANCE_ID_DIR
public static final Integer WIRE_VERSION
public static final int SHORTEN_RFILE_KEYS
public static final int MOVE_TO_REPLICATION_TABLE
public static final int DATA_VERSION
public static final int MOVE_TO_ROOT_TABLE
public static final int MOVE_DELETE_MARKERS
public static final int LOGGING_TO_HDFS
public static final BitSet CAN_UPGRADE
public static final BitSet NEEDS_UPGRADE
public static final String TABLE_DIR
public static final String RECOVERY_DIR
public static final String WAL_DIR
public static final String WALOG_ARCHIVE_DIR
public static final String FILE_ARCHIVE_DIR
public static String[] getBaseUris()
public static String[] getTablesDirs()
public static String[] getRecoveryDirs()
public static String[] getWalDirs()
public static String[] getWalogArchives()
public static org.apache.hadoop.fs.Path getInstanceIdLocation(Volume v)
public static org.apache.hadoop.fs.Path getDataVersionLocation(Volume v)
Copyright © 2011–2018 The Apache Software Foundation. All rights reserved.