<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>question Re: How to copy data from a non HA cluster to a HA cluster? in Support Questions</title>
    <link>https://community.cloudera.com/t5/Support-Questions/How-to-copy-data-from-a-non-HA-cluster-to-a-HA-cluster/m-p/355679#M237122</link>
    <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.cloudera.com/t5/user/viewprofilepage/user-id/101301"&gt;@djtapl01&lt;/a&gt;,&lt;BR /&gt;&lt;BR /&gt;You could try performing reverse distcp. Cluster 1 is non-HA cluster and will always have same Active Namenode. When you run command on cluster2, hdfs will identify the internal nameservice.&lt;BR /&gt;&lt;BR /&gt;You could try running distcp on the cluster 2 with below syntax&lt;BR /&gt;cluster2_node # hadoop distcp hdfs://&amp;lt;ANN_cluster1&amp;gt;:&amp;lt;port&amp;gt;/&amp;lt;filepath&amp;gt; hdfs://&amp;lt;nameservice_cluster2&amp;gt;/filepath&lt;BR /&gt;&lt;BR /&gt;Thank you.&lt;/P&gt;</description>
    <pubDate>Thu, 20 Oct 2022 19:55:25 GMT</pubDate>
    <dc:creator>pajoshi</dc:creator>
    <dc:date>2022-10-20T19:55:25Z</dc:date>
    <item>
      <title>How to copy data from a non HA cluster to a HA cluster?</title>
      <link>https://community.cloudera.com/t5/Support-Questions/How-to-copy-data-from-a-non-HA-cluster-to-a-HA-cluster/m-p/355678#M237121</link>
      <description>&lt;P&gt;I have cluster 1 (the source cluster in this example) which does not have HA enabled, and I have cluster 2 (destination cluster in this example) which does have HA enabled.&amp;nbsp; Both clusters are running the same version of HDP.&amp;nbsp; When I attempt to copy data from cluster 1 to cluster 2 via distcp using the active name node instead of the HA nameservice, it works but ultimately causes problems when the active name node switches.&amp;nbsp; I have tried using the HA nameservice, but without any configurations, it fails (as one would expect).&amp;nbsp; When modifying the hdfs-site.xml to add cluster 2's nameservice information (following this guide laid out here but only for one HA cluster: &lt;A href="https://docs.cloudera.com/cdp-private-cloud-base/7.1.6/scaling-namespaces/topics/hdfs-distcp-between-ha-clusters.html" target="_blank" rel="noopener"&gt;https://docs.cloudera.com/cdp-private-cloud-base/7.1.6/scaling-namespaces/topics/hdfs-distcp-between-ha-clusters.html&lt;/A&gt;), the HDFS services on cluster 1 fail to restart, as the name nodes appear to be attempting to join cluster 2.&amp;nbsp; Is this sort of configuration even possible, or do we need HA on both clusters?&amp;nbsp; It seemed to me just providing the information regarding the external nameservice shouldn't have had as significant of an impact as it did, but I think I'm just missing something.&lt;/P&gt;</description>
      <pubDate>Tue, 21 Apr 2026 07:48:48 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/How-to-copy-data-from-a-non-HA-cluster-to-a-HA-cluster/m-p/355678#M237121</guid>
      <dc:creator>djtapl01</dc:creator>
      <dc:date>2026-04-21T07:48:48Z</dc:date>
    </item>
    <item>
      <title>Re: How to copy data from a non HA cluster to a HA cluster?</title>
      <link>https://community.cloudera.com/t5/Support-Questions/How-to-copy-data-from-a-non-HA-cluster-to-a-HA-cluster/m-p/355679#M237122</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.cloudera.com/t5/user/viewprofilepage/user-id/101301"&gt;@djtapl01&lt;/a&gt;,&lt;BR /&gt;&lt;BR /&gt;You could try performing reverse distcp. Cluster 1 is non-HA cluster and will always have same Active Namenode. When you run command on cluster2, hdfs will identify the internal nameservice.&lt;BR /&gt;&lt;BR /&gt;You could try running distcp on the cluster 2 with below syntax&lt;BR /&gt;cluster2_node # hadoop distcp hdfs://&amp;lt;ANN_cluster1&amp;gt;:&amp;lt;port&amp;gt;/&amp;lt;filepath&amp;gt; hdfs://&amp;lt;nameservice_cluster2&amp;gt;/filepath&lt;BR /&gt;&lt;BR /&gt;Thank you.&lt;/P&gt;</description>
      <pubDate>Thu, 20 Oct 2022 19:55:25 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/How-to-copy-data-from-a-non-HA-cluster-to-a-HA-cluster/m-p/355679#M237122</guid>
      <dc:creator>pajoshi</dc:creator>
      <dc:date>2022-10-20T19:55:25Z</dc:date>
    </item>
  </channel>
</rss>

