[ 
https://issues.apache.org/jira/browse/HBASE-4446?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

stack resolved HBASE-4446.
--------------------------

      Resolution: Fixed
    Hadoop Flags: [Reviewed]

Committed to 0.92 branch and trunk.  Thanks for the patch Ming.

> Rolling restart RSs scenario, regions could stay in OPENING state
> -----------------------------------------------------------------
>
>                 Key: HBASE-4446
>                 URL: https://issues.apache.org/jira/browse/HBASE-4446
>             Project: HBase
>          Issue Type: Bug
>          Components: master
>            Reporter: Ming Ma
>            Assignee: Ming Ma
>             Fix For: 0.92.0
>
>         Attachments: HBASE-4446-trunk.patch
>
>
> Keep Master up all the time, do rolling restart of RSs like this - stop RS1, 
> wait for 2 seconds, stop RS2, start RS1, wait for 2 seconds, stop RS3, start 
> RS2, wait for 2 seconds, etc. Region sometimes can just stay in OPENING state 
> even after timeoutmonitor period.
> 2011-09-19 08:10:33,131 WARN 
> org.apache.hadoop.hbase.master.AssignmentManager: While timing out a region 
> in state OPENING, found ZK node in unexpected state: RS_ZK_REGION_FAILED_OPEN
> The issue - RS was shutdown when a region is being opened, it was 
> transitioned to RS_ZK_REGION_FAILED_OPEN in ZK. In timeoutmonitor, it didn't 
> take care of RS_ZK_REGION_FAILED_OPEN.
> processOpeningState
> ...
>    else if (dataInZNode.getEventType() != EventType.RS_ZK_REGION_OPENING &&
>         LOG.warn("While timing out a region in state OPENING, "
>             + "found ZK node in unexpected state: "
>             + dataInZNode.getEventType());
>         return;
>       }

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Reply via email to