Description
In order to check drill state information, the following tables are to be implemented:
1. Memory: a query such as
select * from sys.drillmemory;
should return a result set like the following:
+------------+------------+--------------+------------+------------+ | drillbit | total_sys_memory |heap_size | direct_alloc_memory | +------------+------------+--------------+------------+------------+ | node1:port1 | 24596676k | 15200420k | 1012372k | +------------+------------+--------------+------------+------------+ | node2:port2 | 24596676k | 15200420k | 2012372k | +------------+------------+--------------+------------+------------+
2. Threads:
For each node in a cluster, we need counts of threads of the drillbits. A query like this:
select * from sys.drillbitthreads;
should return a result set like the following:
+------------+------------+--------------+------------+------------+ | drillbit | pool_name | total_threads | busy_threads | +------------+------------+--------------+------------+------------+ | node1:port1 | pool1 | 8 | 2 | +------------+------------+--------------+------------+------------+ | node2:port2 | pool2 | 10 | 5 | +------------+------------+--------------+------------+------------+
Attachments
Attachments
Issue Links
- blocks
-
DRILL-2276 implement automated tool to check drill state
- Open
- is depended upon by
-
DRILL-2383 add exception and pause injections for testing drillbit stability
- Resolved
-
DRILL-2382 enhance exception injection to support node-specific injections
- Closed
On review board: https://reviews.apache.org/r/31938/