[ 
https://issues.apache.org/jira/browse/HADOOP-17770?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Anoop Sam John updated HADOOP-17770:
------------------------------------
    Description: 
This is just like HADOOP-17038

Right now it will do a seek to the position , read and then seek back to the 
old position. (As per the impl in the super class)
In HBase kind of workloads we rely mostly on short preads. (like 64 KB size by 
default). So would be ideal to support a pure pos read API which will not even 
keep the data in a buffer but will only read the required data as what is asked 
for by the caller. (Not reading ahead more data as per the read size config)

Allow an optional boolean config to be specified while opening file for read 
using which buffered pread can be disabled.
FutureDataInputStreamBuilder openFile(Path path)

  was:This is just like HADOOP-17038


> WASB : Support disabling buffered reads in positional reads
> -----------------------------------------------------------
>
>                 Key: HADOOP-17770
>                 URL: https://issues.apache.org/jira/browse/HADOOP-17770
>             Project: Hadoop Common
>          Issue Type: Improvement
>            Reporter: Anoop Sam John
>            Assignee: Anoop Sam John
>            Priority: Major
>
> This is just like HADOOP-17038
> Right now it will do a seek to the position , read and then seek back to the 
> old position. (As per the impl in the super class)
> In HBase kind of workloads we rely mostly on short preads. (like 64 KB size 
> by default). So would be ideal to support a pure pos read API which will not 
> even keep the data in a buffer but will only read the required data as what 
> is asked for by the caller. (Not reading ahead more data as per the read size 
> config)
> Allow an optional boolean config to be specified while opening file for read 
> using which buffered pread can be disabled.
> FutureDataInputStreamBuilder openFile(Path path)



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

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

Reply via email to