Package org.apache.hadoop.hbase.snapshot
Class SnapshotManifestV1
java.lang.Object
org.apache.hadoop.hbase.snapshot.SnapshotManifestV1
DO NOT USE DIRECTLY. USE
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/fileName-
Nested Class Summary
Modifier and TypeClassDescription(package private) static class
-
Field Summary
Modifier and TypeFieldDescriptionstatic final int
private static final org.slf4j.Logger
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescription(package private) static org.apache.hadoop.hbase.shaded.protobuf.generated.SnapshotProtos.SnapshotRegionManifest
buildManifestFromDisk
(org.apache.hadoop.conf.Configuration conf, org.apache.hadoop.fs.FileSystem fs, org.apache.hadoop.fs.Path tableDir, RegionInfo regionInfo, TableDescriptor htd) (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) static List<StoreFileInfo>
getStoreFiles
(StoreFileTracker sft, HRegionFileSystem regionFS, String familyName, boolean validate) (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, TableDescriptor htd)
-
Field Details
-
LOG
-
DESCRIPTOR_VERSION
- See Also:
-
-
Constructor Details
-
SnapshotManifestV1
private SnapshotManifestV1()
-
-
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, TableDescriptor htd) 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
-
buildManifestFromDisk
static org.apache.hadoop.hbase.shaded.protobuf.generated.SnapshotProtos.SnapshotRegionManifest buildManifestFromDisk(org.apache.hadoop.conf.Configuration conf, org.apache.hadoop.fs.FileSystem fs, org.apache.hadoop.fs.Path tableDir, RegionInfo regionInfo, TableDescriptor htd) throws IOException - Throws:
IOException
-
getStoreFiles
public static List<StoreFileInfo> getStoreFiles(StoreFileTracker sft, HRegionFileSystem regionFS, String familyName, boolean validate) throws IOException - Throws:
IOException
-