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

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Minor Minor
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 0.21.0
    • Component/s: distcp
    • Labels:
      None
    • Hadoop Flags:
      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)

      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

        No work has yet been logged on this issue.

          People

          • Assignee:
            Ravi Gummadi
            Reporter:
            Ramya Sunil
          • Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development