hadoop-hdfs-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "dhruba borthakur (Commented) (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HDFS-2744) Extend FSDataInputStream to allow fadvise
Date Tue, 03 Jan 2012 20:56:46 GMT

    [ https://issues.apache.org/jira/browse/HDFS-2744?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13179012#comment-13179012

dhruba borthakur commented on HDFS-2744:

   * Tells the system to not buffer data in the OS buffer cache if
   * appropriate.
   * @param mode random, sequential, normal, dontneed
   * @param offset the starting file offset of the file
   * @param size the size of data that need not be cached
  public void fadvise(Enum mode, long position, int length)
    throws IOException


> 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


View raw message