From 9b49bd6b66af85186ca4f40df99992b92114a6dd Mon Sep 17 00:00:00 2001 From: bsglz <18031031@qq.com> Date: Fri, 7 Aug 2020 10:28:37 +0800 Subject: [PATCH] HBASE-24826 Add some comments for processlist in hbase shell (#2207) Signed-off-by: Elliot Miller Signed-off-by: stack --- hbase-shell/src/main/ruby/shell/commands/processlist.rb | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/hbase-shell/src/main/ruby/shell/commands/processlist.rb b/hbase-shell/src/main/ruby/shell/commands/processlist.rb index cfb568f5182..4b61886d66d 100644 --- a/hbase-shell/src/main/ruby/shell/commands/processlist.rb +++ b/hbase-shell/src/main/ruby/shell/commands/processlist.rb @@ -27,9 +27,13 @@ Show regionserver task list. hbase> processlist hbase> processlist 'all' + # list non-RPC Tasks, such as compact, flush etc hbase> processlist 'general' + # list RPC Handler Tasks hbase> processlist 'handler' + # list RPC Handler Tasks which state is RUNNING hbase> processlist 'rpc' + # list RPC Handler Tasks which state is RUNNING and from client hbase> processlist 'operation' hbase> processlist 'all','host187.example.com' hbase> processlist 'all','host187.example.com,16020'