Package org.apache.hadoop.hbase.snapshot
Class TestSnapshotRegionLocator
java.lang.Object
org.apache.hadoop.hbase.snapshot.TestSnapshotRegionLocator
@Tag("org.apache.hadoop.hbase.testclassification.MasterTests") @Tag("org.apache.hadoop.hbase.testclassification.SmallTests")
public class TestSnapshotRegionLocator
extends Object
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate org.apache.hadoop.conf.Configurationprivate org.apache.hadoop.fs.FileSystemprivate org.apache.hadoop.fs.Pathprivate org.apache.hadoop.fs.Pathprivate static final byte[]private static final org.apache.hadoop.hbase.client.TableDescriptorprivate static final org.apache.hadoop.hbase.TableName -
Constructor Summary
Constructors -
Method Summary
-
Field Details
-
TABLE_NAME
-
SPLIT_KEY
-
TABLE_DESCRIPTOR
-
conf
-
fs
-
rootDir
-
snapshotDir
-
-
Constructor Details
-
TestSnapshotRegionLocator
public TestSnapshotRegionLocator()
-
-
Method Details
-
setUp
- Throws:
IOException
-
tearDown
- Throws:
IOException
-
testFiltersOfflineAndSplitRegions
- Throws:
IOException
-
writeManifest
- Throws:
IOException
-
addRegion
private static void addRegion(org.apache.hadoop.hbase.shaded.protobuf.generated.SnapshotProtos.SnapshotDataManifest.Builder manifest, long regionId, byte[] startKey, byte[] endKey, boolean offline, boolean split)
-