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

Distcp deleting target directory

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Blocker
    • Resolution: Fixed
    • None
    • 0.16.2
    • util
    • 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

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

            Dates

              Created:
              Updated:
              Resolved: