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

swifts should throw FileAlreadyExistsException on attempt to overwrite file

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 2.4.0
    • Fix Version/s: 2.5.0
    • Component/s: fs
    • Labels:
      None

      Description

      the swift:// filesystem checks for and rejects create() calls over an existing file if overwrite = false, but it throws a custom exception. SwiftPathExistsException

      If it threw a org.apache.hadoop.fs.FileAlreadyExistsException it would match HDFS

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                stevel@apache.org Steve Loughran
                Reporter:
                stevel@apache.org Steve Loughran
              • Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:

                  Time Tracking

                  Estimated:
                  Original Estimate - 0.5h
                  0.5h
                  Remaining:
                  Remaining Estimate - 0.5h
                  0.5h
                  Logged:
                  Time Spent - Not Specified
                  Not Specified