Package org.apache.hadoop.hbase.client
Class TestClientSideRegionScanner
java.lang.Object
org.apache.hadoop.hbase.client.TestClientSideRegionScanner
@Tag("org.apache.hadoop.hbase.testclassification.SmallTests") @Tag("org.apache.hadoop.hbase.testclassification.ClientTests")
public class TestClientSideRegionScanner
extends Object
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionprivate static class -
Field Summary
FieldsModifier and TypeFieldDescriptionprivate org.apache.hadoop.conf.Configurationprivate static final byte[]private org.apache.hadoop.fs.FileSystemprivate org.apache.hadoop.hbase.client.RegionInfoprivate org.apache.hadoop.hbase.client.TableDescriptorprivate Stringprivate org.apache.hadoop.fs.Pathprivate org.apache.hadoop.hbase.client.Scanprivate static final org.apache.hadoop.hbase.TableNameprivate static final HBaseTestingUtil -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprivate static org.apache.hadoop.hbase.client.PutcreatePut(int rowAsInt) voidsetup(org.junit.jupiter.api.TestInfo testInfo) static voidstatic voidvoidvoidvoidvoidvoidprivate voidtestScanMetricByRegion(org.apache.hadoop.hbase.client.metrics.ScanMetrics scanMetrics) voidvoidvoidvoidvoidprivate voidtestScanMetricsWithScanMetricsByRegionDisabled(org.apache.hadoop.hbase.client.metrics.ScanMetrics scanMetrics)
-
Field Details
-
TEST_UTIL
-
TABLE_NAME
-
FAM_NAME
-
conf
-
rootDir
-
fs
-
htd
-
hri
-
scan
-
methodName
-
-
Constructor Details
-
TestClientSideRegionScanner
public TestClientSideRegionScanner()
-
-
Method Details
-
setUpBeforeClass
- Throws:
Exception
-
tearDownAfterClass
- Throws:
Exception
-
setup
- Throws:
IOException
-
testDefaultBlockCache
- Throws:
IOException
-
testConfiguredBlockCache
- Throws:
IOException
-
testNoBlockCache
- Throws:
IOException
-
testContinuesToScanIfHasMore
- Throws:
IOException
-
testScanMetricsDisabled
- Throws:
IOException
-
testScanMetricsWithScanMetricsByRegionDisabled
private void testScanMetricsWithScanMetricsByRegionDisabled(org.apache.hadoop.hbase.client.metrics.ScanMetrics scanMetrics) throws IOException - Throws:
IOException
-
testScanMetricsNotAsInputWithScanMetricsByRegionDisabled
- Throws:
IOException
-
testScanMetricsAsInputWithScanMetricsByRegionDisabled
- Throws:
IOException
-
testScanMetricByRegion
private void testScanMetricByRegion(org.apache.hadoop.hbase.client.metrics.ScanMetrics scanMetrics) throws IOException - Throws:
IOException
-
testScanMetricsByRegionWithoutScanMetricsAsInput
- Throws:
IOException
-
testScanMetricsByRegionWithScanMetricsAsInput
- Throws:
IOException
-
testGetFilesRead
- Throws:
Exception
-
createPut
-