steveloughran commented on PR #968:
URL: https://github.com/apache/parquet-mr/pull/968#issuecomment-1151417126

   I've started work on a fs-api-shim library, with the goal of "apps compile 
against hadoop 3.2.0 can get access to the 3.3 and 3.4 APIs when available 
either with transparent fallback (openFile()) or ability to probe the API 
before trying to invoke
   
   https://github.com/steveloughran/fs-api-shim
   
   openfile takes the seek & status params, falls back to open()
   : 
https://github.com/steveloughran/fs-api-shim/blob/main/fs-api-shim-library/src/main/java/org/apache/hadoop/fs/shim/FileSystemShim.java#L87
   
   ByteBufferReadable will raise UnsupportedException if not found, there is a 
check for it
   
https://github.com/steveloughran/fs-api-shim/blob/main/fs-api-shim-library/src/main/java/org/apache/hadoop/fs/shim/FSDataInputStreamShim.java
   
   Vector IO SHALL be available the same way
   
   Adopt 3.2.0 then and we will help give the library the ability to use the 
newer api calls, even stuff not yet shipped in apache releases.
   
   (I want to release this as an asf artifact with oversight by hadoop project. 
lets us maintain it)
   
   
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: dev-unsubscr...@parquet.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to