See: Description
Interface | Description |
---|---|
NormalizationPlan |
A
NormalizationPlan describes some modification to region split points as identified by
an instance of RegionNormalizer . |
RegionNormalizer |
Performs "normalization" of regions of a table, making sure that suboptimal choice of split keys
doesn't leave cluster in a situation when some regions are substantially larger than others for
considerable amount of time.
|
Class | Description |
---|---|
MergeNormalizationPlan |
Normalization plan to merge adjacent regions.
|
MergeNormalizationPlan.Builder |
A helper for constructing instances of
MergeNormalizationPlan . |
NormalizationTarget |
A POJO that caries details about a region selected for normalization through the pipeline.
|
RegionNormalizerChore |
Chore that will periodically call
HMaster.normalizeRegions(NormalizeTableFilterParams, boolean) . |
RegionNormalizerFactory |
Factory to create instance of
RegionNormalizer as configured. |
RegionNormalizerManager |
This class encapsulates the details of the
RegionNormalizer subsystem. |
RegionNormalizerWorker |
Consumes normalization request targets (
TableName s) off the
RegionNormalizerWorkQueue , dispatches them to the RegionNormalizer , and executes
the resulting NormalizationPlan s. |
RegionNormalizerWorkQueue<E> |
A specialized collection that holds pending work for the
RegionNormalizerWorker . |
SimpleRegionNormalizer |
Simple implementation of region normalizer.
|
SimpleRegionNormalizer.NormalizerConfiguration |
Holds the configuration values read from
Configuration . |
SplitNormalizationPlan |
Normalization plan to split a region.
|
Enum | Description |
---|---|
NormalizationPlan.PlanType |
RegionNormalizerFactory
provides an
entry point for creating an instance of the
RegionNormalizerManager
.
RegionNormalizerManager
encapsulates
the whole Region Normalizer subsystem. You'll find one of these hanging off of the
HMaster
, which uses it to delegate API calls. There
is usually only a single instance of this class.
hbase.normalizer
.
To see detailed logging of the application of these configuration values, set the log
level for this package to TRACE
.
RegionNormalizerTracker
provides a system by
which the Normalizer can be disabled at runtime. It currently does this by managing a znode,
but this is an implementation detail.
RegionNormalizerWorkQueue
is a
Set
-like Queue
that permits a single copy of a given
work item to exist in the queue at one time. It also provides a facility for a producer to
add an item to the front of the line. Consumers are blocked waiting for new work.
RegionNormalizerChore
wakes up
periodically and schedules new normalization work, adding targets to the queue.
RegionNormalizerWorker
runs in a
daemon thread, grabbing work off the queue as is it becomes available.
SimpleRegionNormalizer
implements the
logic for calculating target region sizes and emitting a list of corresponding
NormalizationPlan
objects.
Copyright © 2007–2020 The Apache Software Foundation. All rights reserved.