[
https://issues.apache.org/jira/browse/HBASE-15143?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15907074#comment-15907074
]
Balazs Meszaros commented on HBASE-15143:
-----------------------------------------
Lock listing from shell:
{code}
hbase(main):001:0> list_locks
NAMESPACE(ns4)
Lock type: SHARED, count: 1
TABLE(ns4:table4)
Lock type: EXCLUSIVE, procedure: 1
Waiting procedures:
Lock type Procedure Id
SHARED 2
EXCLUSIVE 3
2 row(s)
{code}
Lock listing from web:
(see screenshot.png)
> Procedure v2 - Web UI displaying queues
> ---------------------------------------
>
> Key: HBASE-15143
> URL: https://issues.apache.org/jira/browse/HBASE-15143
> Project: HBase
> Issue Type: Sub-task
> Components: proc-v2, UI
> Reporter: Matteo Bertozzi
> Assignee: Balazs Meszaros
> Priority: Minor
> Fix For: 2.0.0, 1.4.0
>
> Attachments: HBASE-15143-BM-0001.patch, HBASE-15143-BM-0002.patch
>
>
> We can query MasterProcedureScheduler to display the various procedures and
> who is holding table/region locks.
> Each procedure is in a TableQueue or ServerQueue, so it is easy to display
> the procedures in its own group.
--
This message was sent by Atlassian JIRA
(v6.3.15#6346)