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

ChecksumFS.Make FileSystem.rename(path, path, options) doesn't rename checksum

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 2.8.5, 3.1.2
    • 2.8.6, 3.2.1, 2.9.3, 2.10.1
    • fs
    • None

    Description

      ChecksumFS doesn't override FilterFS rename/3, so doesn't rename the checksum with the file.

      As a result, if a file is renamed over an existing file using rename(src, dest, OVERWRITE) the renamed file will be considered to have an invalid checksum -the old one is picked up instead.

      Attachments

        Issue Links

          Activity

            People

              kabhwan Jungtaek Lim
              stevel@apache.org Steve Loughran
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: