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

swifts should throw FileAlreadyExistsException on attempt to overwrite file

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 2.4.0
    • 2.5.0
    • fs
    • 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

        1. HADOOP-10458-001.patch
          3 kB
          Steve Loughran

        Issue Links

          Activity

            People

              stevel@apache.org Steve Loughran
              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