[
https://issues.apache.org/jira/browse/HDFS-2744?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15339289#comment-15339289
]
Steve Loughran commented on HDFS-2744:
--------------------------------------
HADOOP-13203 is implementing an fadvise-like mechanism, but in the absence of
an API, it's going to be a configuration option to set the policy for opened
streams.
Ideally I'd like: {{fadvise(policy)}}, or just the ability to set a policy when
you open a stream {{i.e Filesystem.open(path, fadvise-policy)}}. The latter
would avoid having to deal with the situation of a policy changing during the
life of an input stream.
> 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
> Labels: performance
>
> 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 was sent by Atlassian JIRA
(v6.3.4#6332)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]