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

Hudson commented on HBASE-17205:
--------------------------------

SUCCESS: Integrated in Jenkins build HBase-1.4 #556 (See 
[https://builds.apache.org/job/HBase-1.4/556/])
HBASE-17205 Add a metric for the duration of region in transition 
(matteo.bertozzi: rev 682dd57cd63f3ab0786d8bcc31a38ffd400f81b1)
* (edit) 
hbase-server/src/main/java/org/apache/hadoop/hbase/master/MetricsAssignmentManager.java
* (edit) 
hbase-server/src/main/java/org/apache/hadoop/hbase/master/RegionStates.java
* (edit) 
hbase-hadoop2-compat/src/main/java/org/apache/hadoop/hbase/master/MetricsAssignmentManagerSourceImpl.java
* (edit) 
hbase-client/src/main/java/org/apache/hadoop/hbase/master/RegionState.java
* (edit) 
hbase-hadoop-compat/src/main/java/org/apache/hadoop/hbase/master/MetricsAssignmentManagerSource.java
* (edit) 
hbase-server/src/test/java/org/apache/hadoop/hbase/master/TestRegionStates.java


> 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
>    Affects Versions: 2.0.0, 1.4.0
>            Reporter: Guanghao Zhang
>            Assignee: Guanghao Zhang
>            Priority: Minor
>             Fix For: 2.0.0, 1.4.0
>
>         Attachments: HBASE-17205-branch-1.patch, HBASE-17205-v1.patch, 
> 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)

Reply via email to