Beautiful. We got it working about the time you posted. So others can shortcut it, to get replication working between two HA hdfs clusters, on the DESTINATION cluster go to Cloudera Manager, hdfs service, configuration, and filter on the HDFS client safety valve. Change it to show in xml with the link next to the boxes. Paste this there changing the names of the nameservices and source namenodes in the xml below with your own. No changes need to be made on the source cluster. NamespaceOfSource is your source cluster nameservice, NamespaceOfDestination is the destination cluster nameservice, and the two namenodes in the xml are the namenodes in your source cluster. Safety valve content:
<property>
<name>dfs.nameservices</name>
<value>NamespaceOfDestination,NamespaceOfSource</value>
</property>
<property>
<name>dfs.internal.nameservices</name>
<value>NamespaceOfDestination</value>
<description>
IMPORTANT. This keeps the destination cluster datanodes
from joining and becoming members of the source cluster.
</description>
</property>
<property>
<name>dfs.ha.namenodes.NamespaceOfSource</name>
<value>namenode77,namenode1</value>
</property>
<property>
<name>dfs.namenode.rpc-address.NamespaceOfSource.namenode77</name>
<value>OneSourceNamenode:8020</value>
</property>
<property>
<name>dfs.namenode.servicerpc-address.NamespaceOfSource.namenode77</name>
<value>OneSourceNamenode:8022</value>
</property>
<property>
<name>dfs.namenode.http-address.NamespaceOfSource.namenode77</name>
<value>OneSourceNamenode:50070</value>
</property>
<property>
<name>dfs.namenode.https-address.NamespaceOfSource.namenode77</name>
<value>OneSourceNamenode:50470</value>
</property>
<property>
<name>dfs.namenode.rpc-address.NamespaceOfSource.namenode1</name>
<value>AnotherSourceNamenode:8020</value>
</property>
<property>
<name>dfs.namenode.servicerpc-address.NamespaceOfSource.namenode1</name>
<value>AnotherSourceNamenode:8022</value>
</property>
<property>
<name>dfs.namenode.http-address.NamespaceOfSource.namenode1</name>
<value>AnotherSourceNamenode:50070</value>
</property>
<property>
<name>dfs.namenode.https-address.NamespaceOfSource.namenode1</name>
<value>AnotherSourceNamenode:50470</value>
</property>
<property>
<name>dfs.client.failover.proxy.provider.NamespaceOfSource</name>
<value>org.apache.hadoop.hdfs.server.namenode.ha.ConfiguredFailoverProxyProvider</value>
</property>
<property>
<name>dfs.ha.automatic-failover.enabled.NamespaceOfSource</name>
<value>true</value>
</property>