[ https://issues.apache.org/jira/browse/HBASE-20654?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16495488#comment-16495488 ]
Sean Busbey commented on HBASE-20654: ------------------------------------- you can also get this in the Java API from the ClusterMetrics object returned from Admin, I think. In the shell it'd look like: {code} hbase(main):038:0> regions_in_transition = @hbase.admin.instance_eval do hbase(main):039:1* @admin.get_cluster_metrics.get_region_states_in_transition hbase(main):040:1> end => #<Java::JavaUtil::Collections::UnmodifiableRandomAccessList:0x51508029> {code} > Expose regions in transition thru JMX > ------------------------------------- > > Key: HBASE-20654 > URL: https://issues.apache.org/jira/browse/HBASE-20654 > Project: HBase > Issue Type: Improvement > Reporter: Ted Yu > Assignee: liubangchen > Priority: Major > Attachments: HBASE-20654-1.patch, HBASE-20654-2.patch > > > Currently only the count of regions in transition is exposed thru JMX. > Here is a sample snippet of the /jmx output: > {code} > { > "beans" : [ { > ... > }, { > "name" : "Hadoop:service=HBase,name=Master,sub=AssignmentManager", > "modelerType" : "Master,sub=AssignmentManager", > "tag.Context" : "master", > ... > "ritCount" : 3 > {code} > It would be desirable to expose region name, state for the regions in > transition as well. > We can place configurable upper bound on the number of entries returned in > case there're a lot of regions in transition. -- This message was sent by Atlassian JIRA (v7.6.3#76005)