title: Distcp Mismatch in length of source
body: <p>I am facing issue while executing <em>distcp</em> command between two different <em>hadoop</em> clusters,</p>
  
  <blockquote>
    <p>Caused by: java.io.IOException: Mismatch in length of
    source:hdfs://ip1/xxxxxxxxxx/xxxxx and
    target:hdfs://nameservice1/xxxxxx/.distcp.tmp.attempt_1483200922993_0056_m_000011_2</p>
  </blockquote>
  
  <p>I tried using -pb and -skipcrccheck:</p>
  
  <pre><code>hadoop distcp -pb -skipcrccheck -update hdfs://ip1/xxxxxxxxxx/xxxxx hdfs:///xxxxxxxxxxxx/ 
  
  hadoop distcp -pb  hdfs://ip1/xxxxxxxxxx/xxxxx hdfs:///xxxxxxxxxxxx/ 
  
  hadoop distcp -skipcrccheck -update hdfs://ip1/xxxxxxxxxx/xxxxx hdfs:///xxxxxxxxxxxx/ 
  </code></pre>
  
  <p>but nothing seems to be working.</p>
  
  <p>Any solutions please.</p>