[
https://issues.apache.org/jira/browse/HDFS-2681?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Suresh Srinivas updated HDFS-2681:
----------------------------------
Attachment: HDFS-2681.txt
Uploading new patch with the following minor changes:
# Fixed build failure due to unsupported characters
# Fixed many lines longer than 80 columns. Other coding conventions fixed "{"
to be on the same line after if and not new line.
# Added apache license banner to the new file
TestActiveStandbyElectorRealZK.java
# Added javadoc to the the test classes to briefly describe what is being
tested.
Bikas can you please address the following comments:
# TestActiveStandbyElectorRealZK.java
#* ThreadRunner.zkClient hides the zkClient from the outside class.
#* Please add javadoc to the classes
#* Please add comments in the tests to describe the test that is being done.
> Add ZK client for leader election
> ---------------------------------
>
> Key: HDFS-2681
> URL: https://issues.apache.org/jira/browse/HDFS-2681
> Project: Hadoop HDFS
> Issue Type: Sub-task
> Components: ha
> Affects Versions: HA branch (HDFS-1623)
> 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.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