[
https://issues.apache.org/jira/browse/HDFS-10441?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
James Clampffer updated HDFS-10441:
-----------------------------------
Attachment: HDFS-10441.HDFS-8707.011.patch
New patch ready to go (lots of manual testing, will file jira for adding CI
tests)
-Get rid of RpcEngine::ha_enabled_, switch "ha_persisted_info_ &&
ha_persisted_info->is_enabled()" into just a check on ha_persisted_info. The
only call left to is_enabled is to check if it is in a valid state, after that
a non-null pointer is sufficient to determine if it's HA.
-got rid of declatations for HANamenodeTracker::IsActiveNamenode
/IsStandbyNamenode
-fix the warning when we get more than two namenodes as part of a nameservice.
It would warn when we had two nodes.. ">" vs ">="
-turn the default max rpc retries to zero. This was hitting a signed to
unsigned conversion issue when using -1. This prevented the last patch from
properly failing over on timed out connections.
> libhdfs++: HA namenode support
> ------------------------------
>
> Key: HDFS-10441
> URL: https://issues.apache.org/jira/browse/HDFS-10441
> Project: Hadoop HDFS
> Issue Type: Sub-task
> Components: hdfs-client
> Reporter: James Clampffer
> Assignee: James Clampffer
> Attachments: HDFS-10441.HDFS-8707.000.patch,
> HDFS-10441.HDFS-8707.002.patch, HDFS-10441.HDFS-8707.003.patch,
> HDFS-10441.HDFS-8707.004.patch, HDFS-10441.HDFS-8707.005.patch,
> HDFS-10441.HDFS-8707.006.patch, HDFS-10441.HDFS-8707.007.patch,
> HDFS-10441.HDFS-8707.008.patch, HDFS-10441.HDFS-8707.009.patch,
> HDFS-10441.HDFS-8707.010.patch, HDFS-10441.HDFS-8707.011.patch,
> HDFS-8707.HDFS-10441.001.patch
>
>
> If a cluster is HA enabled then do proper failover.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]