@InterfaceAudience.Private public final 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.slf4j.Logger |
LOG |
static String |
SNAPSHOT_MANIFEST_PREFIX |
Modifier | Constructor and Description |
---|---|
private |
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.shaded.protobuf.generated.SnapshotProtos.SnapshotRegionManifest manifest) |
private static org.apache.hadoop.fs.Path |
getRegionManifestPath(org.apache.hadoop.fs.Path snapshotDir,
org.apache.hadoop.hbase.shaded.protobuf.generated.SnapshotProtos.SnapshotRegionManifest manifest) |
(package private) static List<org.apache.hadoop.hbase.shaded.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.shaded.protobuf.generated.SnapshotProtos.SnapshotDescription desc,
int manifestSizeLimit) |
private static final org.slf4j.Logger LOG
public static final int DESCRIPTOR_VERSION
public static final String SNAPSHOT_MANIFEST_PREFIX
private SnapshotManifestV2()
static List<org.apache.hadoop.hbase.shaded.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.shaded.protobuf.generated.SnapshotProtos.SnapshotDescription desc, int manifestSizeLimit) throws IOException
IOException
static void deleteRegionManifest(org.apache.hadoop.fs.FileSystem fs, org.apache.hadoop.fs.Path snapshotDir, org.apache.hadoop.hbase.shaded.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.shaded.protobuf.generated.SnapshotProtos.SnapshotRegionManifest manifest)
Copyright © 2007–2019 The Apache Software Foundation. All rights reserved.