[
https://issues.apache.org/jira/browse/HADOOP-8236?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13243962#comment-13243962
]
Hudson commented on HADOOP-8236:
--------------------------------
Integrated in Hadoop-Common-trunk-Commit #1968 (See
[https://builds.apache.org/job/Hadoop-Common-trunk-Commit/1968/])
HADOOP-8236. haadmin should have configurable timeouts for failover
commands. Contributed by Todd Lipcon. (Revision 1308235)
Result = SUCCESS
todd : http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1308235
Files :
* /hadoop/common/trunk/hadoop-common-project/hadoop-common/CHANGES.txt
*
/hadoop/common/trunk/hadoop-common-project/hadoop-common/src/main/java/org/apache/hadoop/fs/CommonConfigurationKeys.java
*
/hadoop/common/trunk/hadoop-common-project/hadoop-common/src/main/java/org/apache/hadoop/ha/FailoverController.java
*
/hadoop/common/trunk/hadoop-common-project/hadoop-common/src/main/java/org/apache/hadoop/ha/HAAdmin.java
*
/hadoop/common/trunk/hadoop-common-project/hadoop-common/src/main/java/org/apache/hadoop/ha/ZKFailoverController.java
*
/hadoop/common/trunk/hadoop-common-project/hadoop-common/src/test/java/org/apache/hadoop/ha/TestFailoverController.java
> haadmin should have configurable timeouts for failover commands
> ---------------------------------------------------------------
>
> Key: HADOOP-8236
> URL: https://issues.apache.org/jira/browse/HADOOP-8236
> Project: Hadoop Common
> Issue Type: Improvement
> Components: ha
> Affects Versions: 0.23.3
> Reporter: Philip Zeyliger
> Assignee: Todd Lipcon
> Fix For: 2.0.0
>
> Attachments: hadoop-8236.txt, hadoop-8236.txt
>
>
> The HAAdmin failover could should time out reasonably aggressively and go
> onto the fencing strategies if it's dealing with a mostly dead active
> namenode. Currently it uses what's probably the default, which is to say no
> timeout whatsoever.
> {code}
> /**
> * Return a proxy to the specified target service.
> */
> protected HAServiceProtocol getProtocol(String serviceId)
> throws IOException {
> String serviceAddr = getServiceAddr(serviceId);
> InetSocketAddress addr = NetUtils.createSocketAddr(serviceAddr);
> return (HAServiceProtocol)RPC.getProxy(
> HAServiceProtocol.class, HAServiceProtocol.versionID,
> addr, getConf());
> }
> {code}
--
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