Package org.apache.hadoop.hbase.tool
Class CanaryTool.RegionTask
java.lang.Object
org.apache.hadoop.hbase.tool.CanaryTool.RegionTask
- Enclosing class:
- CanaryTool
Run a single Region Task and then exit. For each column family of the Region, get one row and
output latency or failure.
-
Nested Class Summary
-
Field Summary
Modifier and TypeFieldDescriptionprivate Connection
private boolean
private boolean
private LongAdder
private RegionInfo
private ServerName
private CanaryTool.RegionStdOutSink
private CanaryTool.RegionTask.TaskType
-
Constructor Summary
ConstructorDescriptionRegionTask
(Connection connection, RegionInfo region, ServerName serverName, CanaryTool.RegionStdOutSink sink, CanaryTool.RegionTask.TaskType taskType, boolean rawScanEnabled, LongAdder rwLatency, boolean readAllCF) -
Method Summary
Modifier and TypeMethodDescriptioncall()
private ColumnFamilyDescriptor
read()
private Void
readColumnFamily
(Table table, ColumnFamilyDescriptor column) private Void
write()
Check writes for the canary table
-
Field Details
-
connection
-
region
-
sink
-
taskType
-
rawScanEnabled
-
serverName
-
readWriteLatency
-
readAllCF
-
-
Constructor Details
-
RegionTask
RegionTask(Connection connection, RegionInfo region, ServerName serverName, CanaryTool.RegionStdOutSink sink, CanaryTool.RegionTask.TaskType taskType, boolean rawScanEnabled, LongAdder rwLatency, boolean readAllCF)
-
-
Method Details