Class RSSnapshotVerifier

java.lang.Object
org.apache.hadoop.hbase.regionserver.RSSnapshotVerifier

@Private public class RSSnapshotVerifier extends Object
Used by SnapshotVerifyProcedure to verify if the region info and store file info in RegionManifest are intact.
  • Nested Class Summary

    Nested Classes
    Modifier and Type
    Class
    Description
    private static final class 
     
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    private final org.apache.hadoop.conf.Configuration
     
    private static final org.slf4j.Logger
     
    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>>>
     
  • Constructor Summary

    Constructors
    Constructor
    Description
    RSSnapshotVerifier(org.apache.hadoop.conf.Configuration conf)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    verifyRegion(org.apache.hadoop.hbase.shaded.protobuf.generated.SnapshotProtos.SnapshotDescription snapshot, RegionInfo region)
     

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Field Details

    • LOG

      private static final org.slf4j.Logger LOG
    • SNAPSHOT_MANIFEST_CACHE

      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
    • conf

      private final org.apache.hadoop.conf.Configuration conf
  • Constructor Details

    • RSSnapshotVerifier

      public RSSnapshotVerifier(org.apache.hadoop.conf.Configuration conf)
  • Method Details