zhengchenyu opened a new pull request #2852:
URL: https://github.com/apache/hadoop/pull/2852


   MAPREDUCE-7287. Distcp will delete exists file , If we use "--delete and 
--update" options and distcp file.
   
   hdfs://ns1/tmp/a is an existing file, hdfs://ns2/tmp/a is also an existing 
file.
   
   When I run this command, 
   ```
   hadoop distcp -delete -update hdfs://ns1/tmp/a hdfs://ns2/tmp/a
   ```
   I Found hdfs://ns2/tmp/a is deleted unpectectedly.
   
   Issue link: https://issues.apache.org/jira/browse/MAPREDUCE-7287


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: common-issues-unsubscr...@hadoop.apache.org
For additional commands, e-mail: common-issues-h...@hadoop.apache.org

Reply via email to