Package org.apache.hadoop.hbase.mob
Class MobConstants
java.lang.Object
org.apache.hadoop.hbase.mob.MobConstants
The constants used in mob.
-
Field Summary
Modifier and TypeFieldDescriptionstatic final String
Old configuration parameters (obsolete)static final float
static final long
static final long
static final int
static final int
static final int
static final int
static final long
Default maximum selection size = 1GBstatic final long
static final int
static final String
static final int
static final boolean
static final int
static final int
Default is 0 - means no limit - all regions of a MOB table will be compacted at oncestatic final String
static final String
static final String
static final String
static final String
Minimum MOB file age to archive, default (3600000 - 1h)static final String
static final String
static final String
static final String
static final String
static final String
The max number of the mob files that is allowed in a batch of the mob compaction.static final String
The period that MobCompactionChore runs.static final String
Maximum size of a MOB compaction selectionstatic final String
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 final String
static final String
static final String
static final String
static final String
static final String
static final String
The max number of a MOB table regions that is allowed in a batch of the mob compaction.static final Tag
static final String
static final byte[]
static final String
static final String
static final byte[]
static final String
Use this configuration option with caution, only during upgrade procedure to handle missing MOB cells during compaction.static final String
Mob compaction type: "full", "optimized" "full" - run full major compaction (during migration) "optimized" - optimized version for use case with infrequent updates/deletesstatic final String
-
Constructor Summary
-
Method Summary
-
Field Details
-
MOB_SCAN_RAW
- See Also:
-
MOB_CACHE_BLOCKS
- See Also:
-
MOB_SCAN_REF_ONLY
- See Also:
-
EMPTY_VALUE_ON_MOBCELL_MISS
- See Also:
-
MOB_FILE_CACHE_SIZE_KEY
- See Also:
-
DEFAULT_MOB_FILE_CACHE_SIZE
- See Also:
-
MOB_DIR_NAME
- See Also:
-
MOB_REGION_NAME
- See Also:
-
MOB_REGION_NAME_BYTES
-
MOB_CLEANER_PERIOD
- See Also:
-
DEPRECATED_MOB_CLEANER_PERIOD
- See Also:
-
DEFAULT_MOB_CLEANER_PERIOD
- See Also:
-
MOB_CACHE_EVICT_PERIOD
- See Also:
-
MOB_CACHE_EVICT_REMAIN_RATIO
- See Also:
-
MOB_REF_TAG
-
MOB_CLEANER_BATCH_SIZE_UPPER_BOUND
- See Also:
-
DEFAULT_MOB_CLEANER_BATCH_SIZE_UPPER_BOUND
- See Also:
-
DEFAULT_EVICT_REMAIN_RATIO
- See Also:
-
DEFAULT_MOB_CACHE_EVICT_PERIOD
- See Also:
-
TEMP_DIR_NAME
- See Also:
-
MOB_MAJOR_COMPACTION_REGION_BATCH_SIZE
The max number of a MOB table regions that is allowed in a batch of the mob compaction. By setting this number to a custom value, users can control the overall effect of a major compaction of a large MOB-enabled table.- See Also:
-
DEFAULT_MOB_MAJOR_COMPACTION_REGION_BATCH_SIZE
Default is 0 - means no limit - all regions of a MOB table will be compacted at once- See Also:
-
MOB_COMPACTION_CHORE_PERIOD
The period that MobCompactionChore runs. The unit is second. The default value is one week.- See Also:
-
DEFAULT_MOB_COMPACTION_CHORE_PERIOD
- See Also:
-
MOB_COMPACTOR_CLASS_KEY
- See Also:
-
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- See Also:
-
FULL_MOB_COMPACTION_TYPE
- See Also:
-
MOB_COMPACTION_TYPE_KEY
- See Also:
-
DEFAULT_MOB_COMPACTION_TYPE
- See Also:
-
MOB_COMPACTION_MAX_FILE_SIZE_KEY
Maximum size of a MOB compaction selection- See Also:
-
DEFAULT_MOB_COMPACTION_MAX_FILE_SIZE
Default maximum selection size = 1GB- See Also:
-
MOB_UNSAFE_DISCARD_MISS_KEY
Use this configuration option with caution, only during upgrade procedure to handle missing MOB cells during compaction.- See Also:
-
DEFAULT_MOB_DISCARD_MISS
- See Also:
-
MIN_AGE_TO_ARCHIVE_KEY
Minimum MOB file age to archive, default (3600000 - 1h)- See Also:
-
DEFAULT_MIN_AGE_TO_ARCHIVE
- See Also:
-
BULKLOAD_DIR_NAME
Old configuration parameters (obsolete)- See Also:
-
MOB_TABLE_LOCK_SUFFIX
-
EMPTY_STRING
- See Also:
-
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. The default value is 1280MB.- See Also:
-
DEFAULT_MOB_COMPACTION_MERGEABLE_THRESHOLD
- See Also:
-
MOB_DELFILE_MAX_COUNT
- See Also:
-
DEFAULT_MOB_DELFILE_MAX_COUNT
- See Also:
-
MOB_COMPACTION_BATCH_SIZE
The max number of the mob files that is allowed in a batch of the mob compaction. The mob compaction merges the small mob files to bigger ones. If the number of the small files is very large, it could lead to a "too many opened file handlers" in the merge. And the merge has to be split into batches. This value limits the number of mob files that are selected in a batch of the mob compaction. The default value is 100. Default is 0 - means no limit - all regions of a MOB table will be compacted at once- See Also:
-
DEFAULT_MOB_COMPACTION_BATCH_SIZE
- See Also:
-
MOB_COMPACTION_THREADS_MAX
- See Also:
-
DEFAULT_MOB_COMPACTION_THREADS_MAX
- See Also:
-
-
Constructor Details
-
MobConstants
private MobConstants()
-