Copying Data between a Secure and an Insecure Cluster using DistCp and webHDFS

You can use DistCp and webHDFS to copy data between a secure cluster and an insecure cluster by doing the following:
  1. Set ipc.client.fallback-to-simple-auth-allowed to true in core-site.xml on the secure cluster side:
    <property> 
      <name>ipc.client.fallback-to-simple-auth-allowed</name>
      <value>true</value> 
    </property>
  2. Use commands such as the following from the secure cluster side only:
    distcp webhdfs://insecureCluster webhdfs://secureCluster 
    distcp webhdfs://secureCluster webhdfs://insecureCluster