Package org.apache.hadoop.hbase.snapshot
Class TestSnapshotManifest
java.lang.Object
org.apache.hadoop.hbase.snapshot.TestSnapshotManifest
-
Field Summary
Modifier and TypeFieldDescriptionstatic final HBaseClassTestRule
private org.apache.hadoop.conf.Configuration
private org.apache.hadoop.fs.FileSystem
private final org.slf4j.Logger
private org.apache.hadoop.fs.Path
private org.apache.hadoop.hbase.shaded.protobuf.generated.SnapshotProtos.SnapshotDescription
private org.apache.hadoop.fs.Path
private static final org.apache.hadoop.hbase.TableName
private static final String
private static final int
private static final int
private static HBaseTestingUtility
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprivate org.apache.hadoop.fs.Path
private org.apache.hadoop.fs.Path
void
setup()
void
tearDown()
void
void
private org.apache.hadoop.fs.Path
writeDataManifest
(org.apache.hadoop.hbase.shaded.protobuf.generated.SnapshotProtos.SnapshotDataManifest manifest)
-
Field Details
-
CLASS_RULE
-
LOG
-
TABLE_NAME_STR
- See Also:
-
TABLE_NAME
-
TEST_NUM_REGIONS
- See Also:
-
TEST_NUM_REGIONFILES
- See Also:
-
TEST_UTIL
-
conf
-
fs
-
rootDir
-
snapshotDir
-
snapshotDesc
private org.apache.hadoop.hbase.shaded.protobuf.generated.SnapshotProtos.SnapshotDescription snapshotDesc -
builder
-
-
Constructor Details
-
TestSnapshotManifest
public TestSnapshotManifest()
-
-
Method Details
-
setup
- Throws:
Exception
-
tearDown
- Throws:
Exception
-
testReadSnapshotManifest
- Throws:
IOException
-
testReadSnapshotRegionManifest
- Throws:
IOException
-
createDataManifest
- Throws:
IOException
-
createRegionManifest
- Throws:
IOException
-
writeDataManifest
private org.apache.hadoop.fs.Path writeDataManifest(org.apache.hadoop.hbase.shaded.protobuf.generated.SnapshotProtos.SnapshotDataManifest manifest) throws IOException - Throws:
IOException
-