Uploaded image for project: 'Hadoop Map/Reduce'
  1. Hadoop Map/Reduce
  2. MAPREDUCE-7287

Distcp will delete existing file , If we use "-delete and -update" options and distcp file.

Log workAgile BoardRank to TopRank to BottomAttach filesAttach ScreenshotVotersWatch issueWatchersCreate sub-taskConvert to sub-taskMoveLinkCloneLabelsUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

    Details

    • Target Version/s:

      Description

      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.

        Attachments

        Issue Links

          Activity

          $i18n.getText('security.level.explanation', $currentSelection) Viewable by All Users
          Cancel

            People

              Dates

              • Created:
                Updated:
                Resolved:

              Time Tracking

              Estimated:
              Original Estimate - Not Specified
              Not Specified
              Remaining:
              Remaining Estimate - 0h
              0h
              Logged:
              Time Spent - 3h
              3h

                Issue deployment