You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@hbase.apache.org by "Jean-Daniel Cryans (JIRA)" <ji...@apache.org> on 2009/01/21 20:05:59 UTC

[jira] Created: (HBASE-1146) Replace the HRS leases with Zookeeper

Replace the HRS leases with Zookeeper
-------------------------------------

                 Key: HBASE-1146
                 URL: https://issues.apache.org/jira/browse/HBASE-1146
             Project: Hadoop HBase
          Issue Type: Sub-task
            Reporter: Jean-Daniel Cryans




-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Updated: (HBASE-1146) Replace the HRS leases with Zookeeper

Posted by "Jean-Daniel Cryans (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/HBASE-1146?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Jean-Daniel Cryans updated HBASE-1146:
--------------------------------------

    Fix Version/s: 0.20.0

> Replace the HRS leases with Zookeeper
> -------------------------------------
>
>                 Key: HBASE-1146
>                 URL: https://issues.apache.org/jira/browse/HBASE-1146
>             Project: Hadoop HBase
>          Issue Type: Sub-task
>            Reporter: Jean-Daniel Cryans
>            Assignee: Jean-Daniel Cryans
>             Fix For: 0.20.0
>
>


-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Resolved: (HBASE-1146) Replace the HRS leases with Zookeeper

Posted by "Jean-Daniel Cryans (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/HBASE-1146?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Jean-Daniel Cryans resolved HBASE-1146.
---------------------------------------

    Resolution: Fixed

I fixed the stuff Statck suggested and committed to trunk.

> Replace the HRS leases with Zookeeper
> -------------------------------------
>
>                 Key: HBASE-1146
>                 URL: https://issues.apache.org/jira/browse/HBASE-1146
>             Project: Hadoop HBase
>          Issue Type: Sub-task
>            Reporter: Jean-Daniel Cryans
>            Assignee: Jean-Daniel Cryans
>             Fix For: 0.20.0
>
>         Attachments: hbase-1146.patch
>
>


-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Updated: (HBASE-1146) Replace the HRS leases with Zookeeper

Posted by "Jean-Daniel Cryans (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/HBASE-1146?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Jean-Daniel Cryans updated HBASE-1146:
--------------------------------------

    Attachment: hbase-1146.patch

Patch that removes the region server leases. Because of the old issue that the region servers may not know on which IP address it should be talking to with, the processing of znodes goes like this:

- The region server tries to create a znode under /hbase/rs/ with it's startcode. If it already exists (because another RS started at the same time and registered first), it gets a new start code and retries those 2 steps.

- The region server reports to the master.

- The master at that point tries to update the znode with the good IP address and at the same time puts a Watcher on it.

- When a region server crashes, ZK notifies the watcher right away and ServerExpirer is ran to process the shutdown.

This patch was tested with 2 region servers and it passes the unit tests.

> Replace the HRS leases with Zookeeper
> -------------------------------------
>
>                 Key: HBASE-1146
>                 URL: https://issues.apache.org/jira/browse/HBASE-1146
>             Project: Hadoop HBase
>          Issue Type: Sub-task
>            Reporter: Jean-Daniel Cryans
>            Assignee: Jean-Daniel Cryans
>             Fix For: 0.20.0
>
>         Attachments: hbase-1146.patch
>
>


-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Reopened: (HBASE-1146) Replace the HRS leases with Zookeeper

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

stack reopened HBASE-1146:
--------------------------


Resolved by mistake instead of commenting

> Replace the HRS leases with Zookeeper
> -------------------------------------
>
>                 Key: HBASE-1146
>                 URL: https://issues.apache.org/jira/browse/HBASE-1146
>             Project: Hadoop HBase
>          Issue Type: Sub-task
>            Reporter: Jean-Daniel Cryans
>            Assignee: Jean-Daniel Cryans
>             Fix For: 0.20.0
>
>         Attachments: hbase-1146.patch
>
>


-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Resolved: (HBASE-1146) Replace the HRS leases with Zookeeper

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

stack resolved HBASE-1146.
--------------------------

      Resolution: Fixed
    Hadoop Flags: [Reviewed]

Sitting beside J-D, reviewed the patch.  +1 (Just change wrapper so it doesn't create path multiple times and make a util method for figuring whether znode is absolute path or not).

> Replace the HRS leases with Zookeeper
> -------------------------------------
>
>                 Key: HBASE-1146
>                 URL: https://issues.apache.org/jira/browse/HBASE-1146
>             Project: Hadoop HBase
>          Issue Type: Sub-task
>            Reporter: Jean-Daniel Cryans
>            Assignee: Jean-Daniel Cryans
>             Fix For: 0.20.0
>
>         Attachments: hbase-1146.patch
>
>


-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Assigned: (HBASE-1146) Replace the HRS leases with Zookeeper

Posted by "Jean-Daniel Cryans (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/HBASE-1146?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Jean-Daniel Cryans reassigned HBASE-1146:
-----------------------------------------

    Assignee: Jean-Daniel Cryans

> Replace the HRS leases with Zookeeper
> -------------------------------------
>
>                 Key: HBASE-1146
>                 URL: https://issues.apache.org/jira/browse/HBASE-1146
>             Project: Hadoop HBase
>          Issue Type: Sub-task
>            Reporter: Jean-Daniel Cryans
>            Assignee: Jean-Daniel Cryans
>


-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.