Package org.apache.hadoop.hbase.snapshot
Class SnapshotManifestV1.ManifestBuilder
java.lang.Object
org.apache.hadoop.hbase.snapshot.SnapshotManifestV1.ManifestBuilder
- All Implemented Interfaces:
SnapshotManifest.RegionVisitor<HRegionFileSystem,
org.apache.hadoop.fs.Path>
- Enclosing class:
- SnapshotManifestV1
static class SnapshotManifestV1.ManifestBuilder
extends Object
implements SnapshotManifest.RegionVisitor<HRegionFileSystem,org.apache.hadoop.fs.Path>
-
Field Summary
Modifier and TypeFieldDescriptionprivate final org.apache.hadoop.conf.Configuration
private final org.apache.hadoop.fs.FileSystem
private final org.apache.hadoop.fs.Path
private final org.apache.hadoop.fs.FileSystem
-
Constructor Summary
ConstructorDescriptionManifestBuilder
(org.apache.hadoop.conf.Configuration conf, org.apache.hadoop.fs.FileSystem rootFs, org.apache.hadoop.fs.Path snapshotDir) -
Method Summary
Modifier and TypeMethodDescriptionvoid
familyClose
(HRegionFileSystem region, org.apache.hadoop.fs.Path family) org.apache.hadoop.fs.Path
familyOpen
(HRegionFileSystem snapshotRegionFs, byte[] familyName) void
regionClose
(HRegionFileSystem region) regionOpen
(RegionInfo regionInfo) void
storeFile
(HRegionFileSystem region, org.apache.hadoop.fs.Path familyDir, StoreFileInfo storeFile)
-
Field Details
-
conf
-
snapshotDir
-
rootFs
-
workingDirFs
-
-
Constructor Details
-
ManifestBuilder
public ManifestBuilder(org.apache.hadoop.conf.Configuration conf, org.apache.hadoop.fs.FileSystem rootFs, org.apache.hadoop.fs.Path snapshotDir) throws IOException - Throws:
IOException
-
-
Method Details
-
regionOpen
- Specified by:
regionOpen
in interfaceSnapshotManifest.RegionVisitor<HRegionFileSystem,
org.apache.hadoop.fs.Path> - Throws:
IOException
-
regionClose
- Specified by:
regionClose
in interfaceSnapshotManifest.RegionVisitor<HRegionFileSystem,
org.apache.hadoop.fs.Path>
-
familyOpen
- Specified by:
familyOpen
in interfaceSnapshotManifest.RegionVisitor<HRegionFileSystem,
org.apache.hadoop.fs.Path>
-
familyClose
- Specified by:
familyClose
in interfaceSnapshotManifest.RegionVisitor<HRegionFileSystem,
org.apache.hadoop.fs.Path>
-
storeFile
public void storeFile(HRegionFileSystem region, org.apache.hadoop.fs.Path familyDir, StoreFileInfo storeFile) throws IOException - Specified by:
storeFile
in interfaceSnapshotManifest.RegionVisitor<HRegionFileSystem,
org.apache.hadoop.fs.Path> - Throws:
IOException
-