[
https://issues.apache.org/jira/browse/HADOOP-7455?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13079897#comment-13079897
]
Justin Joseph commented on HADOOP-7455:
---------------------------------------
If needed, hard coding the state ‘Neutral’ can be avoided since it is specific
to Zookeeper based failover, Instead this HA Service Interface can support
custom states?
Also, want to repeat one suggestion I given earlier. Will it be good idea to
bring all the following life cycle management APIs under this interface?
{noformat}startInActive()
startInStandby()
stop(){noformat}
> Introduce HA Service Protocol Interface
> ---------------------------------------
>
> Key: HADOOP-7455
> URL: https://issues.apache.org/jira/browse/HADOOP-7455
> Project: Hadoop Common
> Issue Type: Sub-task
> Components: util
> Reporter: Suresh Srinivas
> Assignee: Suresh Srinivas
> Fix For: HA Branch (HDFS-1623)
>
> Attachments: HADOOP-7455.1.patch, HADOOP-7455.2.patch,
> HADOOP-7455.3.patch, HADOOP-7455.4.patch, HADOOP-7455.5.patch, HDFS-7454.patch
>
>
> This jira introduces a protocol interface to be implemented by services that
> provide HA functionality.
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira