@InterfaceAudience.Public public final class MobConstants extends Object
Modifier and Type | Field and Description |
---|---|
static String |
BULKLOAD_DIR_NAME
Old configuration parameters (obsolete)
|
static float |
DEFAULT_EVICT_REMAIN_RATIO |
static long |
DEFAULT_MIN_AGE_TO_ARCHIVE |
static long |
DEFAULT_MOB_CACHE_EVICT_PERIOD |
static int |
DEFAULT_MOB_CLEANER_BATCH_SIZE_UPPER_BOUND |
static int |
DEFAULT_MOB_CLEANER_PERIOD |
static int |
DEFAULT_MOB_COMPACTION_BATCH_SIZE |
static int |
DEFAULT_MOB_COMPACTION_CHORE_PERIOD |
static long |
DEFAULT_MOB_COMPACTION_MAX_FILE_SIZE
Default maximum selection size = 1GB
|
static long |
DEFAULT_MOB_COMPACTION_MERGEABLE_THRESHOLD |
static int |
DEFAULT_MOB_COMPACTION_THREADS_MAX |
static String |
DEFAULT_MOB_COMPACTION_TYPE |
static int |
DEFAULT_MOB_DELFILE_MAX_COUNT |
static boolean |
DEFAULT_MOB_DISCARD_MISS |
static int |
DEFAULT_MOB_FILE_CACHE_SIZE |
static int |
DEFAULT_MOB_MAJOR_COMPACTION_REGION_BATCH_SIZE
Default is 0 - means no limit - all regions of a MOB table will be compacted at once
|
static String |
DEPRECATED_MOB_CLEANER_PERIOD |
static String |
EMPTY_STRING |
static String |
EMPTY_VALUE_ON_MOBCELL_MISS |
static String |
FULL_MOB_COMPACTION_TYPE |
static String |
MIN_AGE_TO_ARCHIVE_KEY
Minimum MOB file age to archive, default (3600000 - 1h)
|
static String |
MOB_CACHE_BLOCKS |
static String |
MOB_CACHE_EVICT_PERIOD |
static String |
MOB_CACHE_EVICT_REMAIN_RATIO |
static String |
MOB_CLEANER_BATCH_SIZE_UPPER_BOUND |
static String |
MOB_CLEANER_PERIOD |
static String |
MOB_COMPACTION_BATCH_SIZE
The max number of the mob files that is allowed in a batch of the mob compaction.
|
static String |
MOB_COMPACTION_CHORE_PERIOD
The period that MobCompactionChore runs.
|
static String |
MOB_COMPACTION_MAX_FILE_SIZE_KEY
Maximum size of a MOB compaction selection
|
static String |
MOB_COMPACTION_MERGEABLE_THRESHOLD
If the size of a mob file is less than this value, it's regarded as a small file and needs to
be merged in mob compaction.
|
static String |
MOB_COMPACTION_THREADS_MAX |
static String |
MOB_COMPACTION_TYPE_KEY |
static String |
MOB_COMPACTOR_CLASS_KEY |
static String |
MOB_DELFILE_MAX_COUNT
The max number of del files that is allowed in the mob file compaction.
|
static String |
MOB_DIR_NAME |
static String |
MOB_FILE_CACHE_SIZE_KEY |
static String |
MOB_MAJOR_COMPACTION_REGION_BATCH_SIZE
The max number of a MOB table regions that is allowed in a batch of the mob compaction.
|
static Tag |
MOB_REF_TAG |
static String |
MOB_REGION_NAME |
static byte[] |
MOB_REGION_NAME_BYTES |
static String |
MOB_SCAN_RAW |
static String |
MOB_SCAN_REF_ONLY |
static byte[] |
MOB_TABLE_LOCK_SUFFIX |
static String |
MOB_UNSAFE_DISCARD_MISS_KEY
Use this configuration option with caution, only during upgrade procedure to handle missing MOB
cells during compaction.
|
static String |
OPTIMIZED_MOB_COMPACTION_TYPE
Mob compaction type: "full", "optimized" "full" - run full major compaction (during migration)
"optimized" - optimized version for use case with infrequent updates/deletes
|
static String |
TEMP_DIR_NAME |
Modifier | Constructor and Description |
---|---|
private |
MobConstants() |
public static final String MOB_SCAN_RAW
public static final String MOB_CACHE_BLOCKS
public static final String MOB_SCAN_REF_ONLY
public static final String EMPTY_VALUE_ON_MOBCELL_MISS
public static final String MOB_FILE_CACHE_SIZE_KEY
public static final int DEFAULT_MOB_FILE_CACHE_SIZE
public static final String MOB_DIR_NAME
public static final String MOB_REGION_NAME
public static final byte[] MOB_REGION_NAME_BYTES
public static final String MOB_CLEANER_PERIOD
public static final String DEPRECATED_MOB_CLEANER_PERIOD
public static final int DEFAULT_MOB_CLEANER_PERIOD
public static final String MOB_CACHE_EVICT_PERIOD
public static final String MOB_CACHE_EVICT_REMAIN_RATIO
public static final Tag MOB_REF_TAG
public static final String MOB_CLEANER_BATCH_SIZE_UPPER_BOUND
public static final int DEFAULT_MOB_CLEANER_BATCH_SIZE_UPPER_BOUND
public static final float DEFAULT_EVICT_REMAIN_RATIO
public static final long DEFAULT_MOB_CACHE_EVICT_PERIOD
public static final String TEMP_DIR_NAME
public static final String MOB_MAJOR_COMPACTION_REGION_BATCH_SIZE
public static final int DEFAULT_MOB_MAJOR_COMPACTION_REGION_BATCH_SIZE
public static final String MOB_COMPACTION_CHORE_PERIOD
public static final int DEFAULT_MOB_COMPACTION_CHORE_PERIOD
public static final String MOB_COMPACTOR_CLASS_KEY
public static final String OPTIMIZED_MOB_COMPACTION_TYPE
public static final String FULL_MOB_COMPACTION_TYPE
public static final String MOB_COMPACTION_TYPE_KEY
public static final String DEFAULT_MOB_COMPACTION_TYPE
public static final String MOB_COMPACTION_MAX_FILE_SIZE_KEY
public static final long DEFAULT_MOB_COMPACTION_MAX_FILE_SIZE
public static final String MOB_UNSAFE_DISCARD_MISS_KEY
public static final boolean DEFAULT_MOB_DISCARD_MISS
public static final String MIN_AGE_TO_ARCHIVE_KEY
public static final long DEFAULT_MIN_AGE_TO_ARCHIVE
public static final String BULKLOAD_DIR_NAME
public static final byte[] MOB_TABLE_LOCK_SUFFIX
public static final String EMPTY_STRING
public static final String MOB_COMPACTION_MERGEABLE_THRESHOLD
public static final long DEFAULT_MOB_COMPACTION_MERGEABLE_THRESHOLD
public static final String MOB_DELFILE_MAX_COUNT
public static final int DEFAULT_MOB_DELFILE_MAX_COUNT
public static final String MOB_COMPACTION_BATCH_SIZE
public static final int DEFAULT_MOB_COMPACTION_BATCH_SIZE
public static final String MOB_COMPACTION_THREADS_MAX
public static final int DEFAULT_MOB_COMPACTION_THREADS_MAX
private MobConstants()
Copyright © 2007–2020 The Apache Software Foundation. All rights reserved.