Distcp deleting target directory
--------------------------------

                 Key: HADOOP-3011
                 URL: https://issues.apache.org/jira/browse/HADOOP-3011
             Project: Hadoop Core
          Issue Type: Bug
          Components: util
            Reporter: Koji Noguchi
            Priority: Blocker
             Fix For: 0.16.2


I believe this happens when 

1) src is a file and dst is a directory.

2) -update is set

% hadoop  distcp -p -update  hdfs://srcnn:9999/user/knoguchi/fileA    
hdfs://dstnn:9999/user/knoguchi/dir 


This will delete the hdfs://dstnn:9999/user/knoguchi/dir .  

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to