You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hbase.apache.org by "Guanghao Zhang (JIRA)" <ji...@apache.org> on 2016/12/01 01:35:58 UTC

[jira] [Commented] (HBASE-17205) Add a metric for the duration of region in transition

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

Guanghao Zhang commented on HBASE-17205:
----------------------------------------

bq.  with the new AM we have the actual time of assign and unassign operation for each region and the time of the region in failed open or those kind of states.
Look forward to the new AM in 2.0. :)


> Add a metric for the duration of region in transition
> -----------------------------------------------------
>
>                 Key: HBASE-17205
>                 URL: https://issues.apache.org/jira/browse/HBASE-17205
>             Project: HBase
>          Issue Type: Improvement
>          Components: Region Assignment
>            Reporter: Guanghao Zhang
>            Assignee: Guanghao Zhang
>            Priority: Minor
>         Attachments: HBASE-17205-v1.patch, HBASE-17205.patch
>
>
> When work for HBASE-17178, I found there are not a metric for the overall duration of region in transition. When move a region form A to B, the transformation of region state is PENDING_CLOSE => CLOSING => CLOSED => PENDING_OPEN => OPENING => OPENED. When transform old region state to new region state, it update the time stamp to current time. So we can't get the overall transformation's duration of region in transition. Add a rit duration to RegionState for accumulating this metric.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)