@InterfaceAudience.Private @InterfaceStability.Evolving public class HbckChore extends ScheduledChore
| 构造器和说明 |
|---|
HbckChore(MasterServices master) |
| 限定符和类型 | 方法和说明 |
|---|---|
protected void |
chore() |
long |
getCheckingEndTimestamp()
Used for web ui to show when the HBCK checking report generated.
|
long |
getCheckingStartTimestamp()
Used for web ui to show when the HBCK checking started.
|
Map<String,Pair<ServerName,List<ServerName>>> |
getInconsistentRegions()
Found the inconsistent regions.
|
Map<String,org.apache.hadoop.fs.Path> |
getOrphanRegionsOnFS() |
Map<String,ServerName> |
getOrphanRegionsOnRS() |
boolean |
isDisabled() |
boolean |
isRunning()
When running, the HBCK report may be changed later.
|
protected boolean |
runChore() |
cancel, cancel, choreForTesting, cleanup, getInitialDelay, getName, getPeriod, getStopper, getTimeUnit, initialChore, isInitialChoreComplete, isScheduled, run, toString, triggerNowpublic HbckChore(MasterServices master)
protected void chore()
chore 在类中 ScheduledChoreprotected boolean runChore()
public boolean isDisabled()
public boolean isRunning()
public Map<String,ServerName> getOrphanRegionsOnRS()
public Map<String,org.apache.hadoop.fs.Path> getOrphanRegionsOnFS()
public Map<String,Pair<ServerName,List<ServerName>>> getInconsistentRegions()
public long getCheckingStartTimestamp()
public long getCheckingEndTimestamp()
Copyright © 2007–2020 The Apache Software Foundation. All rights reserved.