Class ServerConstants


  • public class ServerConstants
    extends Object
    • Field Detail

      • CRYPTO_CHANGES

        public static final int CRYPTO_CHANGES
        version (9) reflects changes to crypto that resulted in RFiles and WALs being serialized differently in version 2.0.0. Also RFiles in 2.0.0 may have summary data.
        See Also:
        Constant Field Values
      • SHORTEN_RFILE_KEYS

        public static final int SHORTEN_RFILE_KEYS
        version (8) reflects changes to RFile index (ACCUMULO-1124) AND the change to WAL tracking in ZK in version 1.8.0
        See Also:
        Constant Field Values
      • DATA_VERSION

        public static final int DATA_VERSION
        Historic data versions
        • version (7) also reflects the addition of a replication table in 1.7.0
        • version (6) reflects the addition of a separate root table (ACCUMULO-1481) in 1.6.0 -
        • version (5) moves delete file markers for the metadata table into the root tablet
        • version (4) moves logging to HDFS in 1.5.0
        See Also:
        Constant Field Values
      • CAN_RUN

        public static final Set<Integer> CAN_RUN
      • NEEDS_UPGRADE

        public static final Set<Integer> NEEDS_UPGRADE
    • Constructor Detail

      • ServerConstants

        public ServerConstants()
    • Method Detail

      • checkBaseUris

        public static String[] checkBaseUris​(AccumuloConfiguration conf,
                                             org.apache.hadoop.conf.Configuration hadoopConf,
                                             String[] configuredBaseDirs,
                                             boolean ignore)
      • 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​(AccumuloConfiguration conf,
                                                                                                                  org.apache.hadoop.conf.Configuration hadoopConf)