Class ServerConstants


  • public class ServerConstants
    extends Object
    • Field Detail

      • WIRE_VERSION

        public static final Integer WIRE_VERSION
        current version (3) reflects additional namespace operations (ACCUMULO-802) in version 1.6.0
        (versions should never be negative)
      • SHORTEN_RFILE_KEYS

        public static final int SHORTEN_RFILE_KEYS
        version (8) reflects changes to RFile index (ACCUMULO-1124) in version 1.8.0
        See Also:
        Constant Field Values
      • MOVE_TO_REPLICATION_TABLE

        public static final int MOVE_TO_REPLICATION_TABLE
        version (7) also reflects the addition of a replication table
        See Also:
        Constant Field Values
      • DATA_VERSION

        public static final int DATA_VERSION
        this is the current data version
        See Also:
        Constant Field Values
      • MOVE_TO_ROOT_TABLE

        public static final int MOVE_TO_ROOT_TABLE
        version (6) reflects the addition of a separate root table (ACCUMULO-1481) in version 1.6.0
        See Also:
        Constant Field Values
      • MOVE_DELETE_MARKERS

        public static final int MOVE_DELETE_MARKERS
        version (5) moves delete file markers for the metadata table into the root tablet
        See Also:
        Constant Field Values
      • LOGGING_TO_HDFS

        public static final int LOGGING_TO_HDFS
        version (4) moves logging to HDFS in 1.5.0
        See Also:
        Constant Field Values
      • CAN_UPGRADE

        public static final BitSet CAN_UPGRADE
      • NEEDS_UPGRADE

        public static final BitSet NEEDS_UPGRADE
    • Constructor Detail

      • ServerConstants

        public ServerConstants()
    • Method Detail

      • getBaseUris

        public static String[] getBaseUris()
      • checkBaseUris

        public static String[] checkBaseUris​(String[] configuredBaseDirs,
                                             boolean ignore)
      • getTablesDirs

        public static String[] getTablesDirs()
      • getRecoveryDirs

        public static String[] getRecoveryDirs()
      • getWalDirs

        public static String[] getWalDirs()
      • getWalogArchives

        public static String[] getWalogArchives()
      • getInstanceIdLocation

        public static org.apache.hadoop.fs.Path getInstanceIdLocation​(Volume v)
      • getDataVersionLocation

        public static org.apache.hadoop.fs.Path getDataVersionLocation​(Volume v)
      • getVolumeReplacements

        public static List<Pair<org.apache.hadoop.fs.Path,​org.apache.hadoop.fs.Path>> getVolumeReplacements()