Class SnapshotManifestV2

java.lang.Object
org.apache.hadoop.hbase.snapshot.SnapshotManifestV2

@Private public final class SnapshotManifestV2 extends Object
DO NOT USE DIRECTLY. USE SnapshotManifest. Snapshot v2 layout format - Single Manifest file containing all the information of regions - In the online-snapshot case each region will write a "region manifest" /snapshotName/manifest.regionName
  • Nested Class Summary

    Nested Classes
    Modifier and Type
    Class
    Description
    (package private) static class 
     
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    static final int
     
    private static final org.slf4j.Logger
     
    static final String
     
  • Constructor Summary

    Constructors
    Modifier
    Constructor
    Description
    private
     
  • Method Summary

    Modifier and Type
    Method
    Description
    (package private) static void
    deleteRegionManifest(org.apache.hadoop.fs.FileSystem fs, org.apache.hadoop.fs.Path snapshotDir, org.apache.hadoop.hbase.shaded.protobuf.generated.SnapshotProtos.SnapshotRegionManifest manifest)
     
    private static org.apache.hadoop.fs.Path
    getRegionManifestPath(org.apache.hadoop.fs.Path snapshotDir, org.apache.hadoop.hbase.shaded.protobuf.generated.SnapshotProtos.SnapshotRegionManifest manifest)
     
    (package private) static List<org.apache.hadoop.hbase.shaded.protobuf.generated.SnapshotProtos.SnapshotRegionManifest>
    loadRegionManifests(org.apache.hadoop.conf.Configuration conf, Executor executor, org.apache.hadoop.fs.FileSystem fs, org.apache.hadoop.fs.Path snapshotDir, org.apache.hadoop.hbase.shaded.protobuf.generated.SnapshotProtos.SnapshotDescription desc, int manifestSizeLimit)
     

    Methods inherited from class java.lang.Object

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

  • Constructor Details

  • Method Details

    • loadRegionManifests

      static List<org.apache.hadoop.hbase.shaded.protobuf.generated.SnapshotProtos.SnapshotRegionManifest> loadRegionManifests(org.apache.hadoop.conf.Configuration conf, Executor executor, org.apache.hadoop.fs.FileSystem fs, org.apache.hadoop.fs.Path snapshotDir, org.apache.hadoop.hbase.shaded.protobuf.generated.SnapshotProtos.SnapshotDescription desc, int manifestSizeLimit) throws IOException
      Throws:
      IOException
    • deleteRegionManifest

      static void deleteRegionManifest(org.apache.hadoop.fs.FileSystem fs, org.apache.hadoop.fs.Path snapshotDir, org.apache.hadoop.hbase.shaded.protobuf.generated.SnapshotProtos.SnapshotRegionManifest manifest) throws IOException
      Throws:
      IOException
    • getRegionManifestPath

      private static org.apache.hadoop.fs.Path getRegionManifestPath(org.apache.hadoop.fs.Path snapshotDir, org.apache.hadoop.hbase.shaded.protobuf.generated.SnapshotProtos.SnapshotRegionManifest manifest)