[
https://issues.apache.org/jira/browse/HDFS-2744?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13179049#comment-13179049
]
Suresh Srinivas commented on HDFS-2744:
---------------------------------------
+1.
Should we add some interface called FAdvisable and then provide default
implementation in FSInputStream and FSOutputStream (that is advise is ignored).
The real implementation could be provided in DFS classes.
> Extend FSDataInputStream to allow fadvise
> -----------------------------------------
>
> Key: HDFS-2744
> URL: https://issues.apache.org/jira/browse/HDFS-2744
> Project: Hadoop HDFS
> Issue Type: Improvement
> Components: hdfs client
> Reporter: dhruba borthakur
> Assignee: dhruba borthakur
>
> Now that we have direct reads from local HDFS block files (HDFS-2246), it
> might make sense to make FSDataInputStream support fadvise calls. I have an
> application (HBase) that would like to tell the OS that it should not buffer
> data in the OS buffer cache.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira