Details
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)