@InterfaceAudience.Private public class RSSnapshotVerifier extends Object
SnapshotVerifyProcedure
to verify if the
region info and store file info in RegionManifest are intact.Modifier and Type | Class and Description |
---|---|
private static class |
RSSnapshotVerifier.SnapshotManifestCacheLoader |
Modifier and Type | Field and Description |
---|---|
private org.apache.hadoop.conf.Configuration |
conf |
private static org.slf4j.Logger |
LOG |
private org.apache.hbase.thirdparty.com.google.common.cache.LoadingCache<org.apache.hadoop.hbase.shaded.protobuf.generated.SnapshotProtos.SnapshotDescription,Pair<org.apache.hadoop.fs.FileSystem,Map<String,org.apache.hadoop.hbase.shaded.protobuf.generated.SnapshotProtos.SnapshotRegionManifest>>> |
SNAPSHOT_MANIFEST_CACHE |
Constructor and Description |
---|
RSSnapshotVerifier(org.apache.hadoop.conf.Configuration conf) |
Modifier and Type | Method and Description |
---|---|
void |
verifyRegion(org.apache.hadoop.hbase.shaded.protobuf.generated.SnapshotProtos.SnapshotDescription snapshot,
RegionInfo region) |
private static final org.slf4j.Logger LOG
private final org.apache.hbase.thirdparty.com.google.common.cache.LoadingCache<org.apache.hadoop.hbase.shaded.protobuf.generated.SnapshotProtos.SnapshotDescription,Pair<org.apache.hadoop.fs.FileSystem,Map<String,org.apache.hadoop.hbase.shaded.protobuf.generated.SnapshotProtos.SnapshotRegionManifest>>> SNAPSHOT_MANIFEST_CACHE
private final org.apache.hadoop.conf.Configuration conf
public RSSnapshotVerifier(org.apache.hadoop.conf.Configuration conf)
public void verifyRegion(org.apache.hadoop.hbase.shaded.protobuf.generated.SnapshotProtos.SnapshotDescription snapshot, RegionInfo region) throws IOException
IOException
Copyright © 2007–2020 The Apache Software Foundation. All rights reserved.