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

And an UnsupportedFeatureException for Filesystems to throw on unsupported operations

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Minor
    • Resolution: Won't Fix
    • 2.8.0
    • None
    • fs
    • None

    Description

      Filesystems which don't support things like append() tend to throw a simple IOE, which makes it hard to distinguish "append didn't work for some IO problem" and "append isn't implemented".

      If we add a new exception, UnsupportedFeatureException, make it the strict failure mode of such operations if not supported and patch all our filesystems to raise it, then at least code has a straightforward check. Same for any other unimplemented feature

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              stevel@apache.org Steve Loughran
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: