@InterfaceAudience.Private @InterfaceStability.Evolving public class DisabledTableSnapshotHandler extends TakeSnapshotHandler
Table must exist when taking the snapshot, or results are undefined.
EventHandler.EventHandlerListener, EventHandler.EventType
conf, fs, master, metricsMaster, monitor, rootDir, snapshot, status, workingDir
eventType, seqids, server, waitingTimeForEvents
Constructor and Description |
---|
DisabledTableSnapshotHandler(HBaseProtos.SnapshotDescription snapshot,
MasterServices masterServices,
MasterMetrics metricsMaster) |
Modifier and Type | Method and Description |
---|---|
void |
snapshotRegions(List<Pair<HRegionInfo,ServerName>> regionsAndLocations)
Snapshot the specified regions
|
cancel, completeSnapshot, getCompletionTimestamp, getException, getExceptionIfFailed, getSnapshot, hasException, isFinished, prepare, process, rethrowException, rethrowExceptionIfFailed, snapshotDisabledRegion
compareTo, getEventType, getInformativeName, getListener, getPriority, getSeqid, run, setListener, toString
public DisabledTableSnapshotHandler(HBaseProtos.SnapshotDescription snapshot, MasterServices masterServices, MasterMetrics metricsMaster)
snapshot
- descriptor of the snapshot to takemasterServices
- master services providerIOException
- on unexpected errorpublic void snapshotRegions(List<Pair<HRegionInfo,ServerName>> regionsAndLocations) throws IOException, org.apache.zookeeper.KeeperException
TakeSnapshotHandler
snapshotRegions
in class TakeSnapshotHandler
IOException
org.apache.zookeeper.KeeperException
Copyright © 2014 The Apache Software Foundation. All Rights Reserved.