You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ozone.apache.org by GitBox <gi...@apache.org> on 2019/12/11 20:29:04 UTC

[GitHub] [hadoop-ozone] cxorm opened a new pull request #345: HDDS-2703. OzoneFSInputStream to support ByteBufferReadable

cxorm opened a new pull request #345: HDDS-2703. OzoneFSInputStream to support ByteBufferReadable
URL: https://github.com/apache/hadoop-ozone/pull/345
 
 
   ## What changes were proposed in this pull request?
   This PR makes the ```OzoneFSInputStream``` implement ```ByteBufferReadable``` and override ```int read(ByteBuffer)```
   (Note: Cause the current dependency version of Hadoop in Ozone is 3.2.0, I don't implement ```ByteBufferPositionedReadable``` for now)
   
   ## What is the link to the Apache JIRA
   https://issues.apache.org/jira/browse/HDDS-2703
   
   ## How was this patch tested?
   UT is updated.
   Ran on my standalone cluster, and test it with python.
   (Without ```UnsupportedOperationException``` like [HDDS-2443](https://issues.apache.org/jira/browse/HDDS-2443
   ))
   ![Without ```UnsupportedOperationException```](https://i.imgur.com/hzyBcSZ.png)

----------------------------------------------------------------
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.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services

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