[ 
https://issues.apache.org/jira/browse/HDFS-3246?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16775734#comment-16775734
 ] 

Wei-Chiu Chuang edited comment on HDFS-3246 at 2/23/19 1:50 AM:
----------------------------------------------------------------

I am not an expert in client side input stream implementations. But it seems 
you would also want CryptoInputStream to implement  
ByteBufferPositionedReadable, otherwise it won't help encrypted cluster. (i 
looked for input stream implementations that implement both ByteBufferReadable 
and PositionedReadable)


was (Author: jojochuang):
I am not an expert in client side input stream implementations. But it seems 
you would also want CryptoInputStream to implement  
ByteBufferPositionedReadable, otherwise it won't help encrypted cluster.

> pRead equivalent for direct read path
> -------------------------------------
>
>                 Key: HDFS-3246
>                 URL: https://issues.apache.org/jira/browse/HDFS-3246
>             Project: Hadoop HDFS
>          Issue Type: Improvement
>          Components: hdfs-client, performance
>    Affects Versions: 3.0.0-alpha1
>            Reporter: Henry Robinson
>            Assignee: Sahil Takiar
>            Priority: Major
>         Attachments: HDFS-3246.001.patch, HDFS-3246.002.patch, 
> HDFS-3246.003.patch, HDFS-3246.004.patch
>
>
> There is no pread equivalent in ByteBufferReadable. We should consider adding 
> one. It would be relatively easy to implement for the distributed case 
> (certainly compared to HDFS-2834), since DFSInputStream does most of the 
> heavy lifting.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to