static class SnapshotManifestV1.ManifestBuilder extends Object implements SnapshotManifest.RegionVisitor<HRegionFileSystem,org.apache.hadoop.fs.Path>
| Modifier and Type | Field and Description |
|---|---|
private org.apache.hadoop.conf.Configuration |
conf |
private org.apache.hadoop.fs.FileSystem |
rootFs |
private org.apache.hadoop.fs.Path |
snapshotDir |
private org.apache.hadoop.fs.FileSystem |
workingDirFs |
| Constructor and Description |
|---|
ManifestBuilder(org.apache.hadoop.conf.Configuration conf,
org.apache.hadoop.fs.FileSystem rootFs,
org.apache.hadoop.fs.Path snapshotDir) |
| Modifier and Type | Method and Description |
|---|---|
void |
familyClose(HRegionFileSystem region,
org.apache.hadoop.fs.Path family) |
org.apache.hadoop.fs.Path |
familyOpen(HRegionFileSystem snapshotRegionFs,
byte[] familyName) |
void |
regionClose(HRegionFileSystem region) |
HRegionFileSystem |
regionOpen(RegionInfo regionInfo) |
void |
storeFile(HRegionFileSystem region,
org.apache.hadoop.fs.Path familyDir,
StoreFileInfo storeFile) |
private final org.apache.hadoop.conf.Configuration conf
private final org.apache.hadoop.fs.Path snapshotDir
private final org.apache.hadoop.fs.FileSystem rootFs
private final org.apache.hadoop.fs.FileSystem workingDirFs
public ManifestBuilder(org.apache.hadoop.conf.Configuration conf, org.apache.hadoop.fs.FileSystem rootFs, org.apache.hadoop.fs.Path snapshotDir) throws IOException
IOExceptionpublic HRegionFileSystem regionOpen(RegionInfo regionInfo) throws IOException
regionOpen in interface SnapshotManifest.RegionVisitor<HRegionFileSystem,org.apache.hadoop.fs.Path>IOExceptionpublic void regionClose(HRegionFileSystem region)
regionClose in interface SnapshotManifest.RegionVisitor<HRegionFileSystem,org.apache.hadoop.fs.Path>public org.apache.hadoop.fs.Path familyOpen(HRegionFileSystem snapshotRegionFs, byte[] familyName)
familyOpen in interface SnapshotManifest.RegionVisitor<HRegionFileSystem,org.apache.hadoop.fs.Path>public void familyClose(HRegionFileSystem region, org.apache.hadoop.fs.Path family)
familyClose in interface SnapshotManifest.RegionVisitor<HRegionFileSystem,org.apache.hadoop.fs.Path>public void storeFile(HRegionFileSystem region, org.apache.hadoop.fs.Path familyDir, StoreFileInfo storeFile) throws IOException
storeFile in interface SnapshotManifest.RegionVisitor<HRegionFileSystem,org.apache.hadoop.fs.Path>IOExceptionCopyright © 2007–2020 The Apache Software Foundation. All rights reserved.