hadoop-common-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Bikas Saha (Commented) (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HADOOP-7992) Add ZK client for leader election
Date Wed, 25 Jan 2012 19:01:47 GMT

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

Bikas Saha commented on HADOOP-7992:
------------------------------------

>From previous discussions on [HDFS-2185|https://issues.apache.org/jira/browse/HDFS-2185]
it seemed that writing a simple library for our own needs was a choice no one disagreed on.
It also makes sense because this library could be enhanced more painlessly for future needs.
>From my reading of the curator code, it brings in a fair bit of complexity because it
builds a general ZK framework on top on which recipes are implemented. Secondly, it seemed
that the leader election recipe worked by electing a leader, that holds onto leadership via
not returning from a blocking call. When that call returns then leadership is given up. I
might be wrong but it was not obvious to me how this would handle environmental errors which
cause the leadership to be lost because of external errors.
                
> Add ZK client for leader election
> ---------------------------------
>
>                 Key: HADOOP-7992
>                 URL: https://issues.apache.org/jira/browse/HADOOP-7992
>             Project: Hadoop Common
>          Issue Type: Sub-task
>          Components: ha
>            Reporter: Suresh Srinivas
>            Assignee: Bikas Saha
>             Fix For: HA Branch (HDFS-1623)
>
>         Attachments: HDFS-2681.HDFS-1623.patch, HDFS-2681.HDFS-1623.patch, HDFS-2681.HDFS-1623.patch,
HDFS-2681.HDFS-1623.patch, HDFS-2681.HDFS-1623.patch, HDFS-2681.HDFS-1623.patch, HDFS-2681.HDFS-1623.patch,
HDFS-2681.HDFS-1623.patch, HDFS-2681.HDFS-1623.patch, HDFS-2681.HDFS-1623.patch, HDFS-2681.txt,
HDFS-2681.txt, Zookeeper based Leader Election and Monitoring Library.pdf
>
>
> ZKClient needs to support the following capabilities:
> # Ability to create a znode for co-ordinating leader election.
> # Ability to monitor and receive call backs when active znode status changes.
> # Ability to get information about the active node.

--
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

        

Mime
View raw message