You are viewing a plain text version of this content. The canonical link for it is here.
Posted to mapreduce-issues@hadoop.apache.org by "ASF GitHub Bot (Jira)" <ji...@apache.org> on 2021/04/02 03:45:00 UTC

[jira] [Work logged] (MAPREDUCE-7287) Distcp will delete exists file , If we use "--delete and --update" options and distcp file.

     [ https://issues.apache.org/jira/browse/MAPREDUCE-7287?focusedWorklogId=575898&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-575898 ]

ASF GitHub Bot logged work on MAPREDUCE-7287:
---------------------------------------------

                Author: ASF GitHub Bot
            Created on: 02/Apr/21 03:44
            Start Date: 02/Apr/21 03:44
    Worklog Time Spent: 10m 
      Work Description: 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:
users@infra.apache.org


Issue Time Tracking
-------------------

            Worklog Id:     (was: 575898)
    Remaining Estimate: 0h
            Time Spent: 10m

> Distcp will delete exists file ,  If we use "--delete and --update" options and distcp file.
> --------------------------------------------------------------------------------------------
>
>                 Key: MAPREDUCE-7287
>                 URL: https://issues.apache.org/jira/browse/MAPREDUCE-7287
>             Project: Hadoop Map/Reduce
>          Issue Type: Bug
>          Components: distcp
>    Affects Versions: 3.2.1
>            Reporter: zhengchenyu
>            Priority: Major
>             Fix For: 3.3.1
>
>         Attachments: MAPREDUCE-7287.001.patch
>
>          Time Spent: 10m
>  Remaining Estimate: 0h
>
> hdfs://ns1/tmp/a is an existing file, hdfs://ns2/tmp/a is also an existing file.
> When I run this command, 
> {code:java}
> hadoop distcp -delete -update hdfs://ns1/tmp/a hdfs://ns2/tmp/a
> {code}
> I Found hdfs://ns2/tmp/a is deleted unpectectedly.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

---------------------------------------------------------------------
To unsubscribe, e-mail: mapreduce-issues-unsubscribe@hadoop.apache.org
For additional commands, e-mail: mapreduce-issues-help@hadoop.apache.org