[ 
https://issues.apache.org/jira/browse/HBASE-4368?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15297098#comment-15297098
 ] 

stack commented on HBASE-4368:
------------------------------

Looks good:
{code}
hbase(main):018:0> processlist
44 tasks as of: 2016-05-23 14:14:15
+-----------------+---------------------+----------+----------------------------------+--------------------------------------+
| Host            | Start Time          | State    | Description                
      | Status                               |
+-----------------+---------------------+----------+----------------------------------+--------------------------------------+
| ve0528.halxg... | 2016-05-23 14:13:48 | COMPLETE | Initializing region 
hbase:met... | Region opened successfully (since... |
+-----------------+---------------------+----------+----------------------------------+--------------------------------------+
| ve0528.halxg... | 2016-05-23 14:13:51 | COMPLETE | Initializing region 
tsdb,\x00... | Region opened successfully (since... |
+-----------------+---------------------+----------+----------------------------------+--------------------------------------+
| ve0528.halxg... | 2016-05-23 14:13:51 | COMPLETE | Initializing region 
tsdb,\x00... | Region opened successfully (since... |
+-----------------+---------------------+----------+----------------------------------+--------------------------------------+
| ve0528.halxg... | 2016-05-23 14:13:51 | COMPLETE | Initializing region 
tsdb,\x00... | Region opened successfully (since... |
+-----------------+---------------------+----------+----------------------------------+--------------------------------------+
| ve0528.halxg... | 2016-05-23 14:13:51 | COMPLETE | Initializing region 
ycsb,user... | Region opened successfully (since... |
+-----------------+---------------------+----------+----------------------------------+--------------------------------------+
| ve0528.halxg... | 2016-05-23 14:13:51 | COMPLETE | Compacting t in 
tsdb,\x00\x00... | Compaction complete (since 21 sec... |
+-----------------+---------------------+----------+----------------------------------+--------------------------------------+
| ve0528.halxg... | 2016-05-23 14:13:51 | COMPLETE | Compacting t in 
tsdb,\x00\x01... | Compaction complete (since 23 sec... |
+-----------------+---------------------+----------+----------------------------------+--------------------------------------+
| ve0528.halxg... | 2016-05-23 14:13:51 | COMPLETE | Initializing region 
tsdb,\x00... | Region opened successfully (since... |
+-----------------+---------------------+----------+----------------------------------+--------------------------------------+
...
{code}

If an idle cluster, it shows nothing which makes sense I suppose. Then if 
master is initializing, it dumps out master initializing exception ... which is 
ok too.

> 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-4368v4.patch, 
> HBASE-4368v5-branch-1.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)

Reply via email to