hadoop-hdfs-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Steve Loughran (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HDFS-2744) Extend FSDataInputStream to allow fadvise
Date Mon, 20 Jun 2016 10:15:05 GMT

    [ 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

To unsubscribe, e-mail: hdfs-issues-unsubscribe@hadoop.apache.org
For additional commands, e-mail: hdfs-issues-help@hadoop.apache.org

View raw message