You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hbase.apache.org by "ramkrishna.s.vasudevan (Created) (JIRA)" <ji...@apache.org> on 2011/10/05 11:09:34 UTC

[jira] [Created] (HBASE-4539) OpenedRegionHandler racing with itself in ServerShutDownhandler flow leading to HMaster abort

OpenedRegionHandler racing with itself in ServerShutDownhandler flow leading to HMaster abort
---------------------------------------------------------------------------------------------

                 Key: HBASE-4539
                 URL: https://issues.apache.org/jira/browse/HBASE-4539
             Project: HBase
          Issue Type: Bug
            Reporter: ramkrishna.s.vasudevan
            Assignee: ramkrishna.s.vasudevan


Steps to reproduce
==================
-> Region R1 is being opened in RS1.  
->After processing the znode to OPENED RS1 goes down.
->Now before the OpenedRegionHandler executor deletes the znode if ServerShutDownHandler tries to assign the region to RS2, RS2 transits the node to OPENED and this OpenedRegionHandler executor deletes the znode.  
->Now if the first OpenedRegionHandler tries deleting the znode it throws NoNode Exception and causes the HMaster to abort.



--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Commented] (HBASE-4539) OpenedRegionHandler racing with itself in ServerShutDownhandler flow leading to HMaster abort

Posted by "Hudson (Commented) (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/HBASE-4539?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13123657#comment-13123657 ] 

Hudson commented on HBASE-4539:
-------------------------------

Integrated in HBase-0.92 #54 (See [https://builds.apache.org/job/HBase-0.92/54/])
    HBASE-4540 OpenedRegionHandler is not enforcing atomicity of the operation it is performing.  Also addresses HBASE-4539. (Ram)

ramkrishna : 
Files : 
* /hbase/branches/0.92/CHANGES.txt
* /hbase/branches/0.92/src/main/java/org/apache/hadoop/hbase/master/AssignmentManager.java
* /hbase/branches/0.92/src/main/java/org/apache/hadoop/hbase/master/handler/OpenedRegionHandler.java
* /hbase/branches/0.92/src/main/java/org/apache/hadoop/hbase/zookeeper/ZKAssign.java
* /hbase/branches/0.92/src/main/java/org/apache/hadoop/hbase/zookeeper/ZKUtil.java
* /hbase/branches/0.92/src/test/java/org/apache/hadoop/hbase/master/TestOpenedRegionHandler.java

                
> OpenedRegionHandler racing with itself in ServerShutDownhandler flow leading to HMaster abort
> ---------------------------------------------------------------------------------------------
>
>                 Key: HBASE-4539
>                 URL: https://issues.apache.org/jira/browse/HBASE-4539
>             Project: HBase
>          Issue Type: Bug
>            Reporter: ramkrishna.s.vasudevan
>            Assignee: ramkrishna.s.vasudevan
>
> Steps to reproduce
> ==================
> -> Region R1 is being opened in RS1.  
> ->After processing the znode to OPENED RS1 goes down.
> ->Now before the OpenedRegionHandler executor deletes the znode if ServerShutDownHandler tries to assign the region to RS2, RS2 transits the node to OPENED and this OpenedRegionHandler executor deletes the znode.  
> ->Now if the first OpenedRegionHandler tries deleting the znode it throws NoNode Exception and causes the HMaster to abort.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Updated] (HBASE-4539) OpenedRegionHandler racing with itself in ServerShutDownhandler flow leading to HMaster abort

Posted by "ramkrishna.s.vasudevan (Updated) (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/HBASE-4539?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

ramkrishna.s.vasudevan updated HBASE-4539:
------------------------------------------

    Fix Version/s: 0.92.0
    
> OpenedRegionHandler racing with itself in ServerShutDownhandler flow leading to HMaster abort
> ---------------------------------------------------------------------------------------------
>
>                 Key: HBASE-4539
>                 URL: https://issues.apache.org/jira/browse/HBASE-4539
>             Project: HBase
>          Issue Type: Bug
>            Reporter: ramkrishna.s.vasudevan
>            Assignee: ramkrishna.s.vasudevan
>             Fix For: 0.92.0
>
>
> Steps to reproduce
> ==================
> -> Region R1 is being opened in RS1.  
> ->After processing the znode to OPENED RS1 goes down.
> ->Now before the OpenedRegionHandler executor deletes the znode if ServerShutDownHandler tries to assign the region to RS2, RS2 transits the node to OPENED and this OpenedRegionHandler executor deletes the znode.  
> ->Now if the first OpenedRegionHandler tries deleting the znode it throws NoNode Exception and causes the HMaster to abort.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Commented] (HBASE-4539) OpenedRegionHandler racing with itself in ServerShutDownhandler flow leading to HMaster abort

Posted by "Hudson (Commented) (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/HBASE-4539?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13123671#comment-13123671 ] 

Hudson commented on HBASE-4539:
-------------------------------

Integrated in HBase-TRUNK #2311 (See [https://builds.apache.org/job/HBase-TRUNK/2311/])
    HBASE-4540 OpenedRegionHandler is not enforcing atomicity of the operation it is performing . Also fixes HBASE-4539 (ram)

ramkrishna : 
Files : 
* /hbase/trunk/CHANGES.txt
* /hbase/trunk/src/main/java/org/apache/hadoop/hbase/master/AssignmentManager.java
* /hbase/trunk/src/main/java/org/apache/hadoop/hbase/master/handler/OpenedRegionHandler.java
* /hbase/trunk/src/main/java/org/apache/hadoop/hbase/zookeeper/ZKAssign.java
* /hbase/trunk/src/main/java/org/apache/hadoop/hbase/zookeeper/ZKUtil.java
* /hbase/trunk/src/test/java/org/apache/hadoop/hbase/master/TestOpenedRegionHandler.java

                
> OpenedRegionHandler racing with itself in ServerShutDownhandler flow leading to HMaster abort
> ---------------------------------------------------------------------------------------------
>
>                 Key: HBASE-4539
>                 URL: https://issues.apache.org/jira/browse/HBASE-4539
>             Project: HBase
>          Issue Type: Bug
>            Reporter: ramkrishna.s.vasudevan
>            Assignee: ramkrishna.s.vasudevan
>
> Steps to reproduce
> ==================
> -> Region R1 is being opened in RS1.  
> ->After processing the znode to OPENED RS1 goes down.
> ->Now before the OpenedRegionHandler executor deletes the znode if ServerShutDownHandler tries to assign the region to RS2, RS2 transits the node to OPENED and this OpenedRegionHandler executor deletes the znode.  
> ->Now if the first OpenedRegionHandler tries deleting the znode it throws NoNode Exception and causes the HMaster to abort.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Resolved] (HBASE-4539) OpenedRegionHandler racing with itself in ServerShutDownhandler flow leading to HMaster abort

Posted by "ramkrishna.s.vasudevan (Resolved) (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/HBASE-4539?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

ramkrishna.s.vasudevan resolved HBASE-4539.
-------------------------------------------

    Resolution: Fixed

Fixed as part of HBASE-4540
                
> OpenedRegionHandler racing with itself in ServerShutDownhandler flow leading to HMaster abort
> ---------------------------------------------------------------------------------------------
>
>                 Key: HBASE-4539
>                 URL: https://issues.apache.org/jira/browse/HBASE-4539
>             Project: HBase
>          Issue Type: Bug
>            Reporter: ramkrishna.s.vasudevan
>            Assignee: ramkrishna.s.vasudevan
>
> Steps to reproduce
> ==================
> -> Region R1 is being opened in RS1.  
> ->After processing the znode to OPENED RS1 goes down.
> ->Now before the OpenedRegionHandler executor deletes the znode if ServerShutDownHandler tries to assign the region to RS2, RS2 transits the node to OPENED and this OpenedRegionHandler executor deletes the znode.  
> ->Now if the first OpenedRegionHandler tries deleting the znode it throws NoNode Exception and causes the HMaster to abort.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Commented] (HBASE-4539) OpenedRegionHandler racing with itself in ServerShutDownhandler flow leading to HMaster abort

Posted by "stack (Commented) (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/HBASE-4539?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13121046#comment-13121046 ] 

stack commented on HBASE-4539:
------------------------------

Sounds definietly possible.
                
> OpenedRegionHandler racing with itself in ServerShutDownhandler flow leading to HMaster abort
> ---------------------------------------------------------------------------------------------
>
>                 Key: HBASE-4539
>                 URL: https://issues.apache.org/jira/browse/HBASE-4539
>             Project: HBase
>          Issue Type: Bug
>            Reporter: ramkrishna.s.vasudevan
>            Assignee: ramkrishna.s.vasudevan
>
> Steps to reproduce
> ==================
> -> Region R1 is being opened in RS1.  
> ->After processing the znode to OPENED RS1 goes down.
> ->Now before the OpenedRegionHandler executor deletes the znode if ServerShutDownHandler tries to assign the region to RS2, RS2 transits the node to OPENED and this OpenedRegionHandler executor deletes the znode.  
> ->Now if the first OpenedRegionHandler tries deleting the znode it throws NoNode Exception and causes the HMaster to abort.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira