@InterfaceAudience.Private public class EnabledTableSnapshotHandler extends TakeSnapshotHandler
Procedure
to run the snapshot across all the involved region servers.ProcedureCoordinator
EventHandler.EventHandlerListener, EventHandler.EventType
conf, fs, master, metricsMaster, monitor, rootDir, snapshot, status, workingDir
eventType, seqids, server, waitingTimeForEvents
Constructor and Description |
---|
EnabledTableSnapshotHandler(HBaseProtos.SnapshotDescription snapshot,
MasterServices master,
SnapshotManager manager,
MasterMetrics metricsMaster) |
Modifier and Type | Method and Description |
---|---|
protected void |
snapshotRegions(List<Pair<HRegionInfo,ServerName>> regions)
This method kicks off a snapshot procedure.
|
cancel, completeSnapshot, getCompletionTimestamp, getException, getExceptionIfFailed, getSnapshot, hasException, isFinished, prepare, process, rethrowException, rethrowExceptionIfFailed, snapshotDisabledRegion
compareTo, getEventType, getInformativeName, getListener, getPriority, getSeqid, run, setListener, toString
public EnabledTableSnapshotHandler(HBaseProtos.SnapshotDescription snapshot, MasterServices master, SnapshotManager manager, MasterMetrics metricsMaster)
protected void snapshotRegions(List<Pair<HRegionInfo,ServerName>> regions) throws HBaseSnapshotException, IOException
snapshotRegions
in class TakeSnapshotHandler
HBaseSnapshotException
IOException
Copyright © 2014 The Apache Software Foundation. All Rights Reserved.