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

FileUtil::copy ignores "overwrite" formal

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 0.15.0
    • 0.16.1
    • None
    • 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

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

            Dates

              Created:
              Updated:
              Resolved: