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

liubangchen commented on HBASE-20654:
-------------------------------------

This is my first independent submission of patchs, and I need your guidance. 
The exported jmx example is as follows:
{code:json}
{
  "beans" : [ {
    "name" : "Hadoop:service=HBase,name=Master,sub=AssignmentManager",
    "modelerType" : "Master,sub=AssignmentManager",
    "tag.regionsOffline" : "default_t2_1b48dede1f20e6d4a61g08499d3sa52i",
    "tag.regionsOpening" : "",
    "tag.regionsOpen" : "",
    "tag.regionsClosing" : "",
    "tag.regionsClosed" : "default_t1_1b48dede1f20e6d4a61308499b3ba523",
    "tag.regionsSplitting" : "",
    "tag.regionsSplit" : "",
    "tag.regionsFailedOpen" : "",
    "tag.regionsFailedClose" : "",
    "tag.regionsMerging" : "",
    "tag.regionsMerged" : "",
    "tag.regionsSplittingNew" : "",
    "tag.Context" : "master",
    "tag.Hostname" : "LIUBANGCHEN-MB1",
    "operationCount" : 2,
    "ritOldestAge" : 300341,
    "RitDuration_num_ops" : 0,
    "RitDuration_min" : 0,
    "RitDuration_max" : 0,
    "RitDuration_mean" : 0,
    "RitDuration_25th_percentile" : 0,
    "RitDuration_median" : 0,
    "RitDuration_75th_percentile" : 0,
    "RitDuration_90th_percentile" : 0,
    "RitDuration_95th_percentile" : 0,
    "RitDuration_98th_percentile" : 0,
    "RitDuration_99th_percentile" : 0,
    "RitDuration_99.9th_percentile" : 0,
    "ritCountOverThreshold" : 1,
    "ritCount" : 1
  } ]
}
{code}
qyr=Hadoop:service=HBase,name=Master,sub=AssignmentManager

 

> 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)

Reply via email to