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

When disctp is used to overwrite a file, it should return immediately with an error message

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • None
    • 0.21.0
    • distcp
    • None
    • Reviewed

    Description

      When disctp is triggered to copy a directory to an already existing file, it just shows a "copy failed" error message after 4 attempts without showing any useful error message. This is extremely time consuming on a large cluster and especially when the directory being copied contains several sub-directories.
      Instead, it would be an improvement if distcp could return immediately displaying a useful error message when an user attempts such an operation. (This is an unlikely situation but still a valid test case)

      Attachments

        1. distcp.txt
          11 kB
          Ramya Sunil
        2. d_645.patch
          0.9 kB
          Ravi Gummadi
        3. d_645_v1.patch
          1.0 kB
          Ravi Gummadi

        Activity

          People

            ravidotg Ravi Gummadi
            rramya Ramya Sunil
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: