|
||||||||||
PREV NEXT | FRAMES NO FRAMES |
Uses of HBaseProtos.SnapshotDescription in org.apache.hadoop.hbase.client |
---|
Methods in org.apache.hadoop.hbase.client that return types with arguments of type HBaseProtos.SnapshotDescription | |
---|---|
List<HBaseProtos.SnapshotDescription> |
HBaseAdmin.listSnapshots()
List completed snapshots. |
List<HBaseProtos.SnapshotDescription> |
HBaseAdmin.listSnapshots(Pattern pattern)
List all the completed snapshots matching the given pattern. |
List<HBaseProtos.SnapshotDescription> |
HBaseAdmin.listSnapshots(String regex)
List all the completed snapshots matching the given regular expression. |
Methods in org.apache.hadoop.hbase.client with parameters of type HBaseProtos.SnapshotDescription | |
---|---|
boolean |
HBaseAdmin.isSnapshotFinished(HBaseProtos.SnapshotDescription snapshot)
Check the current state of the passed snapshot. |
void |
HBaseAdmin.snapshot(HBaseProtos.SnapshotDescription snapshot)
Take a snapshot and wait for the server to complete that snapshot (blocking). |
MasterAdminProtos.TakeSnapshotResponse |
HBaseAdmin.takeSnapshotAsync(HBaseProtos.SnapshotDescription snapshot)
Take a snapshot without waiting for the server to complete that snapshot (asynchronous) |
Uses of HBaseProtos.SnapshotDescription in org.apache.hadoop.hbase.coprocessor |
---|
Uses of HBaseProtos.SnapshotDescription in org.apache.hadoop.hbase.master |
---|
Methods in org.apache.hadoop.hbase.master that return HBaseProtos.SnapshotDescription | |
---|---|
HBaseProtos.SnapshotDescription |
SnapshotSentinel.getSnapshot()
|
Methods in org.apache.hadoop.hbase.master with parameters of type HBaseProtos.SnapshotDescription | |
---|---|
void |
MasterCoprocessorHost.postCloneSnapshot(HBaseProtos.SnapshotDescription snapshot,
HTableDescriptor hTableDescriptor)
|
void |
MasterCoprocessorHost.postDeleteSnapshot(HBaseProtos.SnapshotDescription snapshot)
|
void |
MasterCoprocessorHost.postRestoreSnapshot(HBaseProtos.SnapshotDescription snapshot,
HTableDescriptor hTableDescriptor)
|
void |
MasterCoprocessorHost.postSnapshot(HBaseProtos.SnapshotDescription snapshot,
HTableDescriptor hTableDescriptor)
|
void |
MasterCoprocessorHost.preCloneSnapshot(HBaseProtos.SnapshotDescription snapshot,
HTableDescriptor hTableDescriptor)
|
void |
MasterCoprocessorHost.preDeleteSnapshot(HBaseProtos.SnapshotDescription snapshot)
|
void |
MasterCoprocessorHost.preRestoreSnapshot(HBaseProtos.SnapshotDescription snapshot,
HTableDescriptor hTableDescriptor)
|
void |
MasterCoprocessorHost.preSnapshot(HBaseProtos.SnapshotDescription snapshot,
HTableDescriptor hTableDescriptor)
|
Uses of HBaseProtos.SnapshotDescription in org.apache.hadoop.hbase.master.snapshot |
---|
Fields in org.apache.hadoop.hbase.master.snapshot declared as HBaseProtos.SnapshotDescription | |
---|---|
protected HBaseProtos.SnapshotDescription |
TakeSnapshotHandler.snapshot
|
Methods in org.apache.hadoop.hbase.master.snapshot that return HBaseProtos.SnapshotDescription | |
---|---|
HBaseProtos.SnapshotDescription |
TakeSnapshotHandler.getSnapshot()
|
HBaseProtos.SnapshotDescription |
RestoreSnapshotHandler.getSnapshot()
|
HBaseProtos.SnapshotDescription |
CloneSnapshotHandler.getSnapshot()
|
Methods in org.apache.hadoop.hbase.master.snapshot that return types with arguments of type HBaseProtos.SnapshotDescription | |
---|---|
List<HBaseProtos.SnapshotDescription> |
SnapshotManager.getCompletedSnapshots()
Gets the list of all completed snapshots. |
Methods in org.apache.hadoop.hbase.master.snapshot with parameters of type HBaseProtos.SnapshotDescription | |
---|---|
void |
SnapshotManager.deleteSnapshot(HBaseProtos.SnapshotDescription snapshot)
Delete the specified snapshot |
boolean |
SnapshotManager.isRestoreDone(HBaseProtos.SnapshotDescription snapshot)
Returns the status of a restore operation. |
boolean |
SnapshotManager.isSnapshotDone(HBaseProtos.SnapshotDescription expected)
Check if the specified snapshot is done |
void |
SnapshotManager.restoreSnapshot(HBaseProtos.SnapshotDescription reqSnapshot)
Restore the specified snapshot |
void |
SnapshotManager.takeSnapshot(HBaseProtos.SnapshotDescription snapshot)
Take a snapshot based on the enabled/disabled state of the table. |
Constructors in org.apache.hadoop.hbase.master.snapshot with parameters of type HBaseProtos.SnapshotDescription | |
---|---|
CloneSnapshotHandler(MasterServices masterServices,
HBaseProtos.SnapshotDescription snapshot,
HTableDescriptor hTableDescriptor,
MetricsMaster metricsMaster)
|
|
DisabledTableSnapshotHandler(HBaseProtos.SnapshotDescription snapshot,
MasterServices masterServices,
MetricsMaster metricsMaster)
|
|
EnabledTableSnapshotHandler(HBaseProtos.SnapshotDescription snapshot,
MasterServices master,
SnapshotManager manager,
MetricsMaster metricsMaster)
|
|
MasterSnapshotVerifier(MasterServices services,
HBaseProtos.SnapshotDescription snapshot,
org.apache.hadoop.fs.Path rootDir)
|
|
RestoreSnapshotHandler(MasterServices masterServices,
HBaseProtos.SnapshotDescription snapshot,
HTableDescriptor htd,
MetricsMaster metricsMaster)
|
|
TakeSnapshotHandler(HBaseProtos.SnapshotDescription snapshot,
MasterServices masterServices,
MetricsMaster metricsMaster)
|
Uses of HBaseProtos.SnapshotDescription in org.apache.hadoop.hbase.protobuf.generated |
---|
Methods in org.apache.hadoop.hbase.protobuf.generated that return HBaseProtos.SnapshotDescription | |
---|---|
HBaseProtos.SnapshotDescription |
HBaseProtos.SnapshotDescription.Builder.build()
|
HBaseProtos.SnapshotDescription |
HBaseProtos.SnapshotDescription.Builder.buildPartial()
|
static HBaseProtos.SnapshotDescription |
HBaseProtos.SnapshotDescription.getDefaultInstance()
|
HBaseProtos.SnapshotDescription |
HBaseProtos.SnapshotDescription.getDefaultInstanceForType()
|
HBaseProtos.SnapshotDescription |
HBaseProtos.SnapshotDescription.Builder.getDefaultInstanceForType()
|
HBaseProtos.SnapshotDescription |
MasterAdminProtos.TakeSnapshotRequestOrBuilder.getSnapshot()
|
HBaseProtos.SnapshotDescription |
MasterAdminProtos.TakeSnapshotRequest.getSnapshot()
|
HBaseProtos.SnapshotDescription |
MasterAdminProtos.TakeSnapshotRequest.Builder.getSnapshot()
|
HBaseProtos.SnapshotDescription |
MasterAdminProtos.DeleteSnapshotRequestOrBuilder.getSnapshot()
|
HBaseProtos.SnapshotDescription |
MasterAdminProtos.DeleteSnapshotRequest.getSnapshot()
|
HBaseProtos.SnapshotDescription |
MasterAdminProtos.DeleteSnapshotRequest.Builder.getSnapshot()
|
HBaseProtos.SnapshotDescription |
MasterAdminProtos.RestoreSnapshotRequestOrBuilder.getSnapshot()
|
HBaseProtos.SnapshotDescription |
MasterAdminProtos.RestoreSnapshotRequest.getSnapshot()
|
HBaseProtos.SnapshotDescription |
MasterAdminProtos.RestoreSnapshotRequest.Builder.getSnapshot()
|
HBaseProtos.SnapshotDescription |
MasterAdminProtos.IsSnapshotDoneRequestOrBuilder.getSnapshot()
|
HBaseProtos.SnapshotDescription |
MasterAdminProtos.IsSnapshotDoneRequest.getSnapshot()
|
HBaseProtos.SnapshotDescription |
MasterAdminProtos.IsSnapshotDoneRequest.Builder.getSnapshot()
|
HBaseProtos.SnapshotDescription |
MasterAdminProtos.IsSnapshotDoneResponseOrBuilder.getSnapshot()
|
HBaseProtos.SnapshotDescription |
MasterAdminProtos.IsSnapshotDoneResponse.getSnapshot()
|
HBaseProtos.SnapshotDescription |
MasterAdminProtos.IsSnapshotDoneResponse.Builder.getSnapshot()
|
HBaseProtos.SnapshotDescription |
MasterAdminProtos.IsRestoreSnapshotDoneRequestOrBuilder.getSnapshot()
|
HBaseProtos.SnapshotDescription |
MasterAdminProtos.IsRestoreSnapshotDoneRequest.getSnapshot()
|
HBaseProtos.SnapshotDescription |
MasterAdminProtos.IsRestoreSnapshotDoneRequest.Builder.getSnapshot()
|
HBaseProtos.SnapshotDescription |
MasterAdminProtos.ListSnapshotResponseOrBuilder.getSnapshots(int index)
|
HBaseProtos.SnapshotDescription |
MasterAdminProtos.ListSnapshotResponse.getSnapshots(int index)
|
HBaseProtos.SnapshotDescription |
MasterAdminProtos.ListSnapshotResponse.Builder.getSnapshots(int index)
|
static HBaseProtos.SnapshotDescription |
HBaseProtos.SnapshotDescription.parseDelimitedFrom(InputStream input)
|
static HBaseProtos.SnapshotDescription |
HBaseProtos.SnapshotDescription.parseDelimitedFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
|
static HBaseProtos.SnapshotDescription |
HBaseProtos.SnapshotDescription.parseFrom(byte[] data)
|
static HBaseProtos.SnapshotDescription |
HBaseProtos.SnapshotDescription.parseFrom(byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
|
static HBaseProtos.SnapshotDescription |
HBaseProtos.SnapshotDescription.parseFrom(com.google.protobuf.ByteString data)
|
static HBaseProtos.SnapshotDescription |
HBaseProtos.SnapshotDescription.parseFrom(com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
|
static HBaseProtos.SnapshotDescription |
HBaseProtos.SnapshotDescription.parseFrom(com.google.protobuf.CodedInputStream input)
|
static HBaseProtos.SnapshotDescription |
HBaseProtos.SnapshotDescription.parseFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
|
static HBaseProtos.SnapshotDescription |
HBaseProtos.SnapshotDescription.parseFrom(InputStream input)
|
static HBaseProtos.SnapshotDescription |
HBaseProtos.SnapshotDescription.parseFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
|
Methods in org.apache.hadoop.hbase.protobuf.generated that return types with arguments of type HBaseProtos.SnapshotDescription | |
---|---|
List<HBaseProtos.SnapshotDescription> |
MasterAdminProtos.ListSnapshotResponseOrBuilder.getSnapshotsList()
|
List<HBaseProtos.SnapshotDescription> |
MasterAdminProtos.ListSnapshotResponse.getSnapshotsList()
|
List<HBaseProtos.SnapshotDescription> |
MasterAdminProtos.ListSnapshotResponse.Builder.getSnapshotsList()
|
Method parameters in org.apache.hadoop.hbase.protobuf.generated with type arguments of type HBaseProtos.SnapshotDescription | |
---|---|
MasterAdminProtos.ListSnapshotResponse.Builder |
MasterAdminProtos.ListSnapshotResponse.Builder.addAllSnapshots(Iterable<? extends HBaseProtos.SnapshotDescription> values)
|
Uses of HBaseProtos.SnapshotDescription in org.apache.hadoop.hbase.regionserver |
---|
Methods in org.apache.hadoop.hbase.regionserver with parameters of type HBaseProtos.SnapshotDescription | |
---|---|
void |
HRegion.addRegionToSnapshot(HBaseProtos.SnapshotDescription desc,
ForeignExceptionSnare exnSnare)
Complete taking the snapshot on the region. |
Uses of HBaseProtos.SnapshotDescription in org.apache.hadoop.hbase.regionserver.snapshot |
---|
Methods in org.apache.hadoop.hbase.regionserver.snapshot with parameters of type HBaseProtos.SnapshotDescription | |
---|---|
Subprocedure |
RegionServerSnapshotManager.buildSubprocedure(HBaseProtos.SnapshotDescription snapshot)
If in a running state, creates the specified subprocedure for handling an online snapshot. |
Constructors in org.apache.hadoop.hbase.regionserver.snapshot with parameters of type HBaseProtos.SnapshotDescription | |
---|---|
FlushSnapshotSubprocedure(ProcedureMember member,
ForeignExceptionDispatcher errorListener,
long wakeFrequency,
long timeout,
List<HRegion> regions,
HBaseProtos.SnapshotDescription snapshot,
org.apache.hadoop.hbase.regionserver.snapshot.RegionServerSnapshotManager.SnapshotSubprocedurePool taskManager)
|
Uses of HBaseProtos.SnapshotDescription in org.apache.hadoop.hbase.security.access |
---|
Uses of HBaseProtos.SnapshotDescription in org.apache.hadoop.hbase.snapshot |
---|
Fields in org.apache.hadoop.hbase.snapshot declared as HBaseProtos.SnapshotDescription | |
---|---|
protected HBaseProtos.SnapshotDescription |
SnapshotTask.snapshot
|
Methods in org.apache.hadoop.hbase.snapshot that return HBaseProtos.SnapshotDescription | |
---|---|
HBaseProtos.SnapshotDescription |
SnapshotInfo.SnapshotStats.getSnapshotDescription()
|
HBaseProtos.SnapshotDescription |
HBaseSnapshotException.getSnapshotDescription()
|
static HBaseProtos.SnapshotDescription |
SnapshotDescriptionUtils.readSnapshotInfo(org.apache.hadoop.fs.FileSystem fs,
org.apache.hadoop.fs.Path snapshotDir)
Read in the HBaseProtos.SnapshotDescription stored for the snapshot in the passed directory |
static HBaseProtos.SnapshotDescription |
SnapshotDescriptionUtils.validate(HBaseProtos.SnapshotDescription snapshot,
org.apache.hadoop.conf.Configuration conf)
Convert the passed snapshot description into a 'full' snapshot description based on default parameters, if none have been supplied. |
Methods in org.apache.hadoop.hbase.snapshot with parameters of type HBaseProtos.SnapshotDescription | |
---|---|
static void |
ClientSnapshotDescriptionUtils.assertSnapshotRequestIsValid(HBaseProtos.SnapshotDescription snapshot)
Check to make sure that the description of the snapshot requested is valid |
static void |
SnapshotDescriptionUtils.completeSnapshot(HBaseProtos.SnapshotDescription snapshot,
org.apache.hadoop.fs.Path rootdir,
org.apache.hadoop.fs.Path workingDir,
org.apache.hadoop.fs.FileSystem fs)
Move the finished snapshot to its final, publicly visible directory - this marks the snapshot as 'complete'. |
static org.apache.hadoop.fs.Path |
SnapshotDescriptionUtils.getCompletedSnapshotDir(HBaseProtos.SnapshotDescription snapshot,
org.apache.hadoop.fs.Path rootDir)
Get the directory for a specified snapshot. |
static List<org.apache.hadoop.fs.Path> |
TakeSnapshotUtils.getFamilySnapshotDirectories(HBaseProtos.SnapshotDescription snapshot,
org.apache.hadoop.fs.Path snapshotRegionDir,
org.apache.hadoop.fs.FileStatus[] families)
Get the snapshot directory for each family to be added to the the snapshot |
static TimeoutExceptionInjector |
TakeSnapshotUtils.getMasterTimerAndBindToMonitor(HBaseProtos.SnapshotDescription snapshot,
org.apache.hadoop.conf.Configuration conf,
ForeignExceptionListener monitor)
Create a snapshot timer for the master which notifies the monitor when an error occurs |
static org.apache.hadoop.fs.Path |
TakeSnapshotUtils.getRegionSnapshotDirectory(HBaseProtos.SnapshotDescription desc,
org.apache.hadoop.fs.Path rootDir,
String regionName)
Get the per-region snapshot description location. |
static SnapshotInfo.SnapshotStats |
SnapshotInfo.getSnapshotStats(org.apache.hadoop.conf.Configuration conf,
HBaseProtos.SnapshotDescription snapshot)
Returns the snapshot stats |
static org.apache.hadoop.fs.Path |
SnapshotDescriptionUtils.getWorkingSnapshotDir(HBaseProtos.SnapshotDescription snapshot,
org.apache.hadoop.fs.Path rootDir)
Get the directory to build a snapshot, before it is finalized |
static String |
ClientSnapshotDescriptionUtils.toString(HBaseProtos.SnapshotDescription ssd)
Returns a single line (no \n) representation of snapshot metadata. |
static HBaseProtos.SnapshotDescription |
SnapshotDescriptionUtils.validate(HBaseProtos.SnapshotDescription snapshot,
org.apache.hadoop.conf.Configuration conf)
Convert the passed snapshot description into a 'full' snapshot description based on default parameters, if none have been supplied. |
static void |
TakeSnapshotUtils.verifyAllLogsGotReferenced(org.apache.hadoop.fs.FileSystem fs,
org.apache.hadoop.fs.Path logsDir,
Set<String> serverNames,
HBaseProtos.SnapshotDescription snapshot,
org.apache.hadoop.fs.Path snapshotLogDir)
Verify that all the expected logs got referenced |
static void |
TakeSnapshotUtils.verifyRecoveredEdits(org.apache.hadoop.fs.FileSystem fs,
org.apache.hadoop.fs.Path rootDir,
HRegionInfo regionInfo,
HBaseProtos.SnapshotDescription snapshot)
Verify one of a snapshot's region's recovered.edits, has been at the surface (file names, length), match the original directory. |
static void |
SnapshotDescriptionUtils.writeSnapshotInfo(HBaseProtos.SnapshotDescription snapshot,
org.apache.hadoop.fs.Path workingDir,
org.apache.hadoop.fs.FileSystem fs)
Write the snapshot description into the working directory of a snapshot |
Constructors in org.apache.hadoop.hbase.snapshot with parameters of type HBaseProtos.SnapshotDescription | |
---|---|
CopyRecoveredEditsTask(HBaseProtos.SnapshotDescription snapshot,
ForeignExceptionDispatcher monitor,
org.apache.hadoop.fs.FileSystem fs,
org.apache.hadoop.fs.Path regionDir,
org.apache.hadoop.fs.Path snapshotRegionDir)
|
|
CorruptedSnapshotException(String message,
HBaseProtos.SnapshotDescription snapshot)
Snapshot was corrupt for some reason |
|
HBaseSnapshotException(String msg,
HBaseProtos.SnapshotDescription desc)
Exception for the given snapshot that has no previous root cause |
|
HBaseSnapshotException(String msg,
Throwable cause,
HBaseProtos.SnapshotDescription desc)
Exception for the given snapshot due to another exception |
|
ReferenceRegionHFilesTask(HBaseProtos.SnapshotDescription snapshot,
ForeignExceptionDispatcher monitor,
org.apache.hadoop.fs.Path regionDir,
org.apache.hadoop.fs.FileSystem fs,
org.apache.hadoop.fs.Path regionSnapshotDir)
Reference all the files in the given region directory |
|
ReferenceServerWALsTask(HBaseProtos.SnapshotDescription snapshot,
ForeignExceptionDispatcher failureListener,
org.apache.hadoop.fs.Path logDir,
org.apache.hadoop.conf.Configuration conf,
org.apache.hadoop.fs.FileSystem fs)
|
|
RestoreSnapshotException(String msg,
HBaseProtos.SnapshotDescription desc)
|
|
RestoreSnapshotException(String msg,
Throwable cause,
HBaseProtos.SnapshotDescription desc)
|
|
RestoreSnapshotHelper(org.apache.hadoop.conf.Configuration conf,
org.apache.hadoop.fs.FileSystem fs,
HBaseProtos.SnapshotDescription snapshotDescription,
org.apache.hadoop.fs.Path snapshotDir,
HTableDescriptor tableDescriptor,
org.apache.hadoop.fs.Path rootDir,
ForeignExceptionDispatcher monitor,
MonitoredTask status)
|
|
SnapshotCreationException(String msg,
HBaseProtos.SnapshotDescription desc)
Failure to create the specified snapshot |
|
SnapshotCreationException(String msg,
Throwable cause,
HBaseProtos.SnapshotDescription desc)
Failure to create the specified snapshot due to an external cause |
|
SnapshotDoesNotExistException(HBaseProtos.SnapshotDescription desc)
|
|
SnapshotExistsException(String msg,
HBaseProtos.SnapshotDescription desc)
Failure due to the snapshot already existing |
|
SnapshotTask(HBaseProtos.SnapshotDescription snapshot,
ForeignExceptionDispatcher monitor)
|
|
TableInfoCopyTask(ForeignExceptionDispatcher monitor,
HBaseProtos.SnapshotDescription snapshot,
org.apache.hadoop.fs.FileSystem fs,
org.apache.hadoop.fs.Path rootDir)
Copy the table info for the given table into the snapshot |
|
||||||||||
PREV NEXT | FRAMES NO FRAMES |