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

Add PathCapabilities to FS and FC to complement StreamCapabilities

    XMLWordPrintableJSON

    Details

    • Type: New Feature
    • Status: Patch Available
    • Priority: Major
    • Resolution: Unresolved
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: None
    • Labels:
      None
    • Target Version/s:

      Description

      Add a PathCapabilities interface to both FileSystem and FileContext to declare the capabilities under the path of a filesystem through both the FileSystem and FileContext APIs

      This is needed for

      • HADOOP-14707: declare that a dest FS supports permissions
      • object stores to declare that they offer PUT-in-place alongside (slow-rename)
      • Anything else where the implementation semantics of an FS is so different caller apps would benefit from probing for the underlying semantics

      I know, we want all filesystem to work exactly the same. But it doesn't hold, especially for object stores —and to efficiently use them, callers need to be able to ask for specific features.

        Attachments

        1. HADOOP-15691-001.patch
          34 kB
          Steve Loughran
        2. HADOOP-15691-002.patch
          33 kB
          Steve Loughran
        3. HADOOP-15691-003.patch
          48 kB
          Steve Loughran
        4. HADOOP-15691-004.patch
          56 kB
          Steve Loughran

          Issue Links

            Activity

              People

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

                Dates

                • Created:
                  Updated: