Uploaded image for project: 'Hadoop Common'
  1. Hadoop Common
  2. HADOOP-3011

Distcp deleting target directory

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Blocker
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 0.16.2
    • Component/s: util
    • Labels:
      None

      Description

      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 .

        Attachments

        1. 3011-0.patch
          4 kB
          Christopher Douglas
        2. 3011-0.patch
          4 kB
          Christopher Douglas

          Activity

            People

            • Assignee:
              cdouglas Christopher Douglas
              Reporter:
              knoguchi Koji Noguchi
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: