hive table export to other hadoop cluster or hive export within cluster+ distcp?
<p>I want to export hive table from one Hadoop cluster A  to another B.</p>

<p>I have 2 approaches:</p>

<p>First:</p>

<ul>
<li><p><strong>export</strong> to hdfs of A (<em>same cluster</em>)</p></li>
<li><p><strong>distcp</strong> to hdfs of cluster B(<em>different cluster</em>)</p></li>
<li><strong>import</strong> to hive of cluster B</li>
</ul>

<p>Second:</p>

<ul>
<li><strong>export</strong> to hdfs of B (<em>different cluster</em>)</li>
<li><strong>import</strong> to hive of cluster B</li>
</ul>

<p>Is <strong>distcp</strong> adding extra advantage?</p>