Class TestScannerWithCorruptHFile
java.lang.Object
org.apache.hadoop.hbase.regionserver.TestScannerWithCorruptHFile
@Tag("org.apache.hadoop.hbase.testclassification.MediumTests")
public class TestScannerWithCorruptHFile
extends Object
Tests a scanner on a corrupt hfile.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic class -
Field Summary
FieldsModifier and TypeFieldDescriptionprivate static final byte[]private static final HBaseTestingUtil -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprivate voidloadTable(org.apache.hadoop.hbase.client.Table table, int numRows) private voidscan(org.apache.hadoop.hbase.client.Table table) static voidsetup()static voidtearDown()voidtestScanOnCorruptHFile(org.junit.jupiter.api.TestInfo testInfo)
-
Field Details
-
FAMILY_NAME
-
TEST_UTIL
-
-
Constructor Details
-
TestScannerWithCorruptHFile
public TestScannerWithCorruptHFile()
-
-
Method Details
-
setup
- Throws:
Exception
-
tearDown
- Throws:
Exception
-
testScanOnCorruptHFile
@Test public void testScanOnCorruptHFile(org.junit.jupiter.api.TestInfo testInfo) throws IOException - Throws:
IOException
-
loadTable
- Throws:
IOException
-
scan
- Throws:
IOException
-