Class RollingUpgradeChore
java.lang.Object
org.apache.hadoop.hbase.ScheduledChore
org.apache.hadoop.hbase.master.migrate.RollingUpgradeChore
- All Implemented Interfaces:
Runnable
To avoid too many migrating/upgrade threads to be submitted at the time during master
initialization, RollingUpgradeChore handles all rolling-upgrade tasks.
-
Field Summary
FieldsModifier and TypeFieldDescription(package private) static final int(package private) static final long(package private) static final intprivate static final org.slf4j.Logger(package private) ProcedureExecutor<MasterProcedureEnv>private List<InitializeStoreFileTrackerProcedure>(package private) static final String(package private) static final Stringprivate TableDescriptors -
Constructor Summary
ConstructorsModifierConstructorDescriptionprivateRollingUpgradeChore(org.apache.hadoop.conf.Configuration conf, ProcedureExecutor<MasterProcedureEnv> procedureExecutor, TableDescriptors tableDescriptors, Stoppable stopper) RollingUpgradeChore(MasterServices masterServices) -
Method Summary
Modifier and TypeMethodDescriptionprotected voidchore()The task to execute on each scheduled execution of the Choreprivate booleanisCompletelyMigrateSFT(int concurrentCount) Methods inherited from class org.apache.hadoop.hbase.ScheduledChore
cancel, cancel, choreForTesting, cleanup, getInitialDelay, getName, getPeriod, getStopper, getTimeUnit, initialChore, isInitialChoreComplete, isScheduled, run, shutdown, shutdown, toString, triggerNow
-
Field Details
-
ROLLING_UPGRADE_CHORE_PERIOD_SECONDS_KEY
- See Also:
-
DFAULT_ROLLING_UPGRADE_CHORE_PERIOD_SECONDS
- See Also:
-
ROLLING_UPGRADE_CHORE_DELAY_SECONDS_KEY
- See Also:
-
DEFAULT_ROLLING_UPGRADE_CHORE_DELAY_SECONDS
- See Also:
-
CONCURRENT_PROCEDURES_COUNT
- See Also:
-
LOG
-
procedureExecutor
-
tableDescriptors
-
processingProcs
-
-
Constructor Details
-
RollingUpgradeChore
-
RollingUpgradeChore
private RollingUpgradeChore(org.apache.hadoop.conf.Configuration conf, ProcedureExecutor<MasterProcedureEnv> procedureExecutor, TableDescriptors tableDescriptors, Stoppable stopper)
-
-
Method Details
-
chore
Description copied from class:ScheduledChoreThe task to execute on each scheduled execution of the Chore- Specified by:
chorein classScheduledChore
-
isCompletelyMigrateSFT
-