spring-attic / spring-xd-ambari

Apache Ambari integration for Spring XD
Apache License 2.0
9 stars 18 forks source link

Add support for namenode HA #6

Closed jvalkeal closed 8 years ago

jvalkeal commented 9 years ago

Ok, so, if HA is enabled a custom configuration is needed. HA is silently handled by a hadoop dfs client but configuration is still needed. We don't have any custom tweaks in SHDP for this but we just need to write a different xd container/shell config depending if HA is enabled.

ysung-pivotal commented 9 years ago

In hadoop.properties.j2 This line: dfs.client.failover.proxy.provider.mycluster=org.apache.hadoop.hdfs.server.namenode.ha.ConfiguredFailoverProxyProvider

Should be: dfs.client.failover.proxy.provider.{{dfs_ha_nameservices}}=org.apache.hadoop.hdfs.server.namenode.ha.ConfiguredFailoverProxyProvider

jvalkeal commented 8 years ago

should be fixed now, closing.