Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions hbase-shell/src/main/ruby/shell/commands/processlist.rb
Original file line number Diff line number Diff line change
Expand Up @@ -27,10 +27,10 @@ def help

hbase> processlist
hbase> processlist 'all'
hbase> processlist 'general'
hbase> processlist 'handler'
hbase> processlist 'rpc'
hbase> processlist 'operation'
hbase> processlist 'general' //non-RPC Tasks, such as compact, flush etc

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for this @bsglz! Documentation like this is a little inconsistent in format throughout our commands, but I think it would be good to follow the precedent of the RSGroup commands and place these comments on the preceding lines with a ruby-style comment (#) since the shell is ruby.

Ex:

# set table-cfs config is null, then the namespaces config decide which

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Will fix later.
Thanks.

hbase> processlist 'handler' //RPC Handler Tasks
hbase> processlist 'rpc' //RPC Handler Tasks which state is RUNNING
hbase> processlist 'operation' //RPC Handler Tasks which state is RUNNING and from client
hbase> processlist 'all','host187.example.com'
hbase> processlist 'all','host187.example.com,16020'
hbase> processlist 'all','host187.example.com,16020,1289493121758'
Expand Down