| Package | Description |
|---|---|
| org.apache.hadoop.hbase.master.snapshot | |
| org.apache.hadoop.hbase.snapshot |
| Modifier and Type | Field and Description |
|---|---|
protected SnapshotManifest |
TakeSnapshotHandler.snapshotManifest |
| Modifier and Type | Method and Description |
|---|---|
static SnapshotManifest |
SnapshotManifest.create(Configuration conf,
FileSystem fs,
Path workingDir,
HBaseProtos.SnapshotDescription desc,
ForeignExceptionSnare monitor)
Return a SnapshotManifest instance, used for writing a snapshot.
|
static SnapshotManifest |
SnapshotManifest.open(Configuration conf,
FileSystem fs,
Path workingDir,
HBaseProtos.SnapshotDescription desc)
Return a SnapshotManifest instance with the information already loaded in-memory.
|
| Modifier and Type | Method and Description |
|---|---|
static void |
SnapshotReferenceUtil.concurrentVisitReferencedFiles(Configuration conf,
FileSystem fs,
SnapshotManifest manifest,
SnapshotReferenceUtil.StoreFileVisitor visitor) |
static void |
SnapshotReferenceUtil.verifySnapshot(Configuration conf,
FileSystem fs,
SnapshotManifest manifest)
Verify the validity of the snapshot
|
| Constructor and Description |
|---|
RestoreSnapshotHelper(Configuration conf,
FileSystem fs,
SnapshotManifest manifest,
HTableDescriptor tableDescriptor,
Path rootDir,
ForeignExceptionDispatcher monitor,
MonitoredTask status) |
RestoreSnapshotHelper(Configuration conf,
FileSystem fs,
SnapshotManifest manifest,
HTableDescriptor tableDescriptor,
Path rootDir,
ForeignExceptionDispatcher monitor,
MonitoredTask status,
boolean createBackRefs) |