You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@hbase.apache.org by st...@apache.org on 2020/08/07 02:30:20 UTC
[hbase] branch master updated: HBASE-24826 Add some comments for
processlist in hbase shell (#2207)
This is an automated email from the ASF dual-hosted git repository.
stack pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/hbase.git
The following commit(s) were added to refs/heads/master by this push:
new 9b49bd6 HBASE-24826 Add some comments for processlist in hbase shell (#2207)
9b49bd6 is described below
commit 9b49bd6b66af85186ca4f40df99992b92114a6dd
Author: bsglz <18...@qq.com>
AuthorDate: Fri Aug 7 10:28:37 2020 +0800
HBASE-24826 Add some comments for processlist in hbase shell (#2207)
Signed-off-by: Elliot Miller <el...@apple.com>
Signed-off-by: stack <st...@apple.com>
---
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 cfb568f..4b61886 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'