@InterfaceAudience.Private public class SnapshotManifestV1 extends Object
SnapshotManifest
.
Snapshot v1 layout format
- Each region in the table is represented by a directory with the .hregioninfo file
/snapshotName/regionName/.hregioninfo
- Each file present in the table is represented by an empty file
/snapshotName/regionName/familyName/fileNameModifier and Type | Class and Description |
---|---|
(package private) static class |
SnapshotManifestV1.ManifestBuilder |
Modifier and Type | Field and Description |
---|---|
static int |
DESCRIPTOR_VERSION |
private static org.apache.commons.logging.Log |
LOG |
Modifier | Constructor and Description |
---|---|
private |
SnapshotManifestV1() |
Modifier and Type | Method and Description |
---|---|
(package private) static org.apache.hadoop.hbase.protobuf.generated.SnapshotProtos.SnapshotRegionManifest |
buildManifestFromDisk(org.apache.hadoop.conf.Configuration conf,
org.apache.hadoop.fs.FileSystem fs,
org.apache.hadoop.fs.Path tableDir,
HRegionInfo regionInfo) |
(package private) static void |
deleteRegionManifest(org.apache.hadoop.fs.FileSystem fs,
org.apache.hadoop.fs.Path snapshotDir,
org.apache.hadoop.hbase.protobuf.generated.SnapshotProtos.SnapshotRegionManifest manifest) |
(package private) static List<org.apache.hadoop.hbase.protobuf.generated.SnapshotProtos.SnapshotRegionManifest> |
loadRegionManifests(org.apache.hadoop.conf.Configuration conf,
Executor executor,
org.apache.hadoop.fs.FileSystem fs,
org.apache.hadoop.fs.Path snapshotDir,
org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.SnapshotDescription desc) |
private static final org.apache.commons.logging.Log LOG
public static final int DESCRIPTOR_VERSION
static List<org.apache.hadoop.hbase.protobuf.generated.SnapshotProtos.SnapshotRegionManifest> loadRegionManifests(org.apache.hadoop.conf.Configuration conf, Executor executor, org.apache.hadoop.fs.FileSystem fs, org.apache.hadoop.fs.Path snapshotDir, org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.SnapshotDescription desc) throws IOException
IOException
static void deleteRegionManifest(org.apache.hadoop.fs.FileSystem fs, org.apache.hadoop.fs.Path snapshotDir, org.apache.hadoop.hbase.protobuf.generated.SnapshotProtos.SnapshotRegionManifest manifest) throws IOException
IOException
static org.apache.hadoop.hbase.protobuf.generated.SnapshotProtos.SnapshotRegionManifest buildManifestFromDisk(org.apache.hadoop.conf.Configuration conf, org.apache.hadoop.fs.FileSystem fs, org.apache.hadoop.fs.Path tableDir, HRegionInfo regionInfo) throws IOException
IOException
Copyright © 2007–2019 The Apache Software Foundation. All rights reserved.