Package org.apache.hadoop.hbase.snapshot
Class SnapshotManifestV2
java.lang.Object
org.apache.hadoop.hbase.snapshot.SnapshotManifestV2
DO NOT USE DIRECTLY. USE
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.regionName-
Nested Class Summary
Modifier and TypeClassDescription(package private) static class
-
Field Summary
Modifier and TypeFieldDescriptionstatic final int
private static final org.slf4j.Logger
static final String
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescription(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)
-
Field Details
-
LOG
-
DESCRIPTOR_VERSION
- See Also:
-
SNAPSHOT_MANIFEST_PREFIX
- See Also:
-
-
Constructor Details
-
SnapshotManifestV2
private SnapshotManifestV2()
-
-
Method Details
-
loadRegionManifests
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 - Throws:
IOException
-
deleteRegionManifest
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 - Throws:
IOException
-
getRegionManifestPath
private static org.apache.hadoop.fs.Path getRegionManifestPath(org.apache.hadoop.fs.Path snapshotDir, org.apache.hadoop.hbase.shaded.protobuf.generated.SnapshotProtos.SnapshotRegionManifest manifest)
-