Package org.apache.hadoop.hbase.client
Class TestClientSideRegionScanner
java.lang.Object
org.apache.hadoop.hbase.client.TestClientSideRegionScanner
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionprivate static class -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final HBaseClassTestRuleprivate 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 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()static voidstatic voidvoidvoidvoidvoidprivate voidtestScanMetricByRegion(org.apache.hadoop.hbase.client.metrics.ScanMetrics scanMetrics) voidvoidvoidvoidvoidprivate voidtestScanMetricsWithScanMetricsByRegionDisabled(org.apache.hadoop.hbase.client.metrics.ScanMetrics scanMetrics)
-
Field Details
-
CLASS_RULE
-
TEST_UTIL
-
TABLE_NAME
-
FAM_NAME
-
conf
-
rootDir
-
fs
-
htd
-
hri
-
scan
-
-
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
-
createPut
-