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
FieldsModifier and TypeFieldDescriptionprivate final org.apache.hadoop.conf.Configurationprivate final org.apache.hadoop.fs.FileSystemprivate final org.apache.hadoop.fs.Pathprivate final org.apache.hadoop.fs.FileSystem -
Constructor Summary
ConstructorsConstructorDescriptionManifestBuilder(org.apache.hadoop.conf.Configuration conf, org.apache.hadoop.fs.FileSystem rootFs, org.apache.hadoop.fs.Path snapshotDir) -
Method Summary
Modifier and TypeMethodDescriptionvoidfamilyClose(HRegionFileSystem region, org.apache.hadoop.fs.Path family) org.apache.hadoop.fs.PathfamilyOpen(HRegionFileSystem snapshotRegionFs, byte[] familyName) voidregionClose(HRegionFileSystem region) regionOpen(RegionInfo regionInfo) voidstoreFile(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:
regionOpenin interfaceSnapshotManifest.RegionVisitor<HRegionFileSystem,org.apache.hadoop.fs.Path> - Throws:
IOException
-
regionClose
- Specified by:
regionClosein interfaceSnapshotManifest.RegionVisitor<HRegionFileSystem,org.apache.hadoop.fs.Path>
-
familyOpen
- Specified by:
familyOpenin interfaceSnapshotManifest.RegionVisitor<HRegionFileSystem,org.apache.hadoop.fs.Path>
-
familyClose
- Specified by:
familyClosein 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:
storeFilein interfaceSnapshotManifest.RegionVisitor<HRegionFileSystem,org.apache.hadoop.fs.Path> - Throws:
IOException
-