@InterfaceAudience.Private public class RollingUpgradeChore extends ScheduledChore
Modifier and Type | Field and Description |
---|---|
(package private) static int |
CONCURRENT_PROCEDURES_COUNT |
(package private) static long |
DEFAULT_ROLLING_UPGRADE_CHORE_DELAY_SECONDS |
(package private) static int |
DFAULT_ROLLING_UPGRADE_CHORE_PERIOD_SECONDS |
private static org.slf4j.Logger |
LOG |
(package private) ProcedureExecutor<MasterProcedureEnv> |
procedureExecutor |
private List<InitializeStoreFileTrackerProcedure> |
processingProcs |
(package private) static String |
ROLLING_UPGRADE_CHORE_DELAY_SECONDS_KEY |
(package private) static String |
ROLLING_UPGRADE_CHORE_PERIOD_SECONDS_KEY |
private TableDescriptors |
tableDescriptors |
Modifier | Constructor and Description |
---|---|
private |
RollingUpgradeChore(org.apache.hadoop.conf.Configuration conf,
ProcedureExecutor<MasterProcedureEnv> procedureExecutor,
TableDescriptors tableDescriptors,
Stoppable stopper) |
|
RollingUpgradeChore(MasterServices masterServices) |
Modifier and Type | Method and Description |
---|---|
protected void |
chore()
The task to execute on each scheduled execution of the Chore
|
private boolean |
isCompletelyMigrateSFT(int concurrentCount) |
cancel, cancel, choreForTesting, cleanup, getInitialDelay, getName, getPeriod, getStopper, getTimeUnit, initialChore, isInitialChoreComplete, isScheduled, run, shutdown, shutdown, toString, triggerNow
static final String ROLLING_UPGRADE_CHORE_PERIOD_SECONDS_KEY
static final int DFAULT_ROLLING_UPGRADE_CHORE_PERIOD_SECONDS
static final String ROLLING_UPGRADE_CHORE_DELAY_SECONDS_KEY
static final long DEFAULT_ROLLING_UPGRADE_CHORE_DELAY_SECONDS
static final int CONCURRENT_PROCEDURES_COUNT
private static final org.slf4j.Logger LOG
ProcedureExecutor<MasterProcedureEnv> procedureExecutor
private TableDescriptors tableDescriptors
private List<InitializeStoreFileTrackerProcedure> processingProcs
public RollingUpgradeChore(MasterServices masterServices)
private RollingUpgradeChore(org.apache.hadoop.conf.Configuration conf, ProcedureExecutor<MasterProcedureEnv> procedureExecutor, TableDescriptors tableDescriptors, Stoppable stopper)
protected void chore()
ScheduledChore
chore
in class ScheduledChore
private boolean isCompletelyMigrateSFT(int concurrentCount)
Copyright © 2007–2020 The Apache Software Foundation. All rights reserved.