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

FileUtil::copy ignores "overwrite" formal

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 0.15.0
    • Fix Version/s: 0.16.1
    • Component/s: None
    • Labels:
      None

      Description

      o.a.h.fs.FileUtil::copy takes an "overwrite" parameter, but FileUtil::checkDest() throws an IOException if the destination exists. It should be modified to ignore this check if overwrite is true.

        Attachments

        1. 2808-0.patch
          4 kB
          Christopher Douglas

          Activity

            People

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

              Dates

              • Created:
                Updated:
                Resolved: