[
https://issues.apache.org/jira/browse/HBASE-4368?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14294196#comment-14294196
]
stack commented on HBASE-4368:
------------------------------
This looks very nice.
How do I query a single server?
hbase(main):017:0> processlist 'all',
'c2024.halxg.cloudera.com,16020,1422392840119'
ERROR: cannot convert instance of class org.jruby.RubyString to class
org.apache.hadoop.hbase.ServerName
The help is not clear. Says 'localhost':
hbase> processlist 'all','localhost'
Looks like it takes hostname only but but everywhere else we take servername so
should say hostname instead of localhost. Might want to do servername rather
than hostname or be able to take both for case where machine has restarted or
there are two hosts on one node.
Regards patch, it looks good. I like how you reuse formatter.
Nice one [~talat]
> Expose processlist in shell (per regionserver and perhaps by cluster)
> ---------------------------------------------------------------------
>
> Key: HBASE-4368
> URL: https://issues.apache.org/jira/browse/HBASE-4368
> Project: HBase
> Issue Type: Task
> Components: shell
> Reporter: stack
> Assignee: Talat UYARER
> Labels: beginner
> Attachments: HBASE-4368.patch, HBASE-4368v2-withunittest.patch,
> HBASE-4368v2.patch, HBASE-4368v3.patch
>
>
> HBASE-4057 adds processlist and it shows in the RS UI. This issue is about
> getting the processlist to show in the shell, like it does in mysql.
> Labelling it noob; this is a pretty substantial issue but it shouldn't be too
> hard -- it'd mostly be plumbing from RS into the shell.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)