You are viewing a plain text version of this content. The canonical link for it is here.
Posted to common-dev@hadoop.apache.org by "Steve Loughran (Jira)" <ji...@apache.org> on 2022/06/10 16:49:00 UTC

[jira] [Created] (HADOOP-18287) Provide a shim library for modern FS APIs

Steve Loughran created HADOOP-18287:
---------------------------------------

             Summary: Provide a shim library for modern FS APIs
                 Key: HADOOP-18287
                 URL: https://issues.apache.org/jira/browse/HADOOP-18287
             Project: Hadoop Common
          Issue Type: New Feature
          Components: fs
    Affects Versions: 3.3.0
            Reporter: Steve Loughran


Add a shim library to give libraries and applications built against hadoop 3.2 access to APIs and features in later versions, especially those delivering higher performance in cloud deployments. This will give them the ability to invoke those APIs when available, so gain from the work everyone has done. Key APIs are:

* openFile
* ByteBufferPositionedReadable
* Vectored IO

The library will either downgrade gracefully to existing code (openFile) or simply thrown UnsupportedException when invoked -but offer probes for every operation before invocation.

This module will compile against hadoop 3.2.0; it will be tested against that and later releases.

We can and should release this on a different schedule; though ideally we should issue releases in sync with new hadoop releases adding new supported API calls.

For that reason I think we could consider having separate git repository for it. Verifying that the shim works against hadoop PRs could actually become one of our regression tests -indeed, it should become one.



--
This message was sent by Atlassian Jira
(v8.20.7#820007)

---------------------------------------------------------------------
To unsubscribe, e-mail: common-dev-unsubscribe@hadoop.apache.org
For additional commands, e-mail: common-dev-help@hadoop.apache.org