@InterfaceAudience.Private public class SnapshotManifestV2 extends Object
SnapshotManifest
.
Snapshot v2 layout format
- Single Manifest file containing all the information of regions
- In the online-snapshot case each region will write a "region manifest"
/snapshotName/manifest.regionNameModifier and Type | Class and Description |
---|---|
(package private) static class |
SnapshotManifestV2.ManifestBuilder |
Modifier and Type | Field and Description |
---|---|
static int |
DESCRIPTOR_VERSION |
private static org.apache.commons.logging.Log |
LOG |
static String |
SNAPSHOT_MANIFEST_PREFIX |
Constructor and Description |
---|
SnapshotManifestV2() |
Modifier and Type | Method and Description |
---|---|
(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) |
private static org.apache.hadoop.fs.Path |
getRegionManifestPath(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
public static final String SNAPSHOT_MANIFEST_PREFIX
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
private static org.apache.hadoop.fs.Path getRegionManifestPath(org.apache.hadoop.fs.Path snapshotDir, org.apache.hadoop.hbase.protobuf.generated.SnapshotProtos.SnapshotRegionManifest manifest)
Copyright © 2007–2019 The Apache Software Foundation. All rights reserved.