[ https://issues.apache.org/jira/browse/HBASE-20654?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16493539#comment-16493539 ]
Ted Yu commented on HBASE-20654: -------------------------------- {code} + String REGIONS_STATE_OFFLINE="regionsOffline"; {code} You can globally replace REGIONS_STATE_ with REGIONS_ (offline implies a state). Looking at MetricsAssignmentWrapper.java, it seems to be the diff based on one other commit. Please generate as new file. After 'git add', I normally use the following command: {code} git diff --cached <path-to-file> {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 > > > 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)