You are viewing a plain text version of this content. The canonical link for it is here.
Posted to hdfs-issues@hadoop.apache.org by "Liang Xie (JIRA)" <ji...@apache.org> on 2013/04/16 01:40:16 UTC

[jira] [Commented] (HDFS-4697) short-circuit reads do not honor readahead settings

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

Liang Xie commented on HDFS-4697:
---------------------------------

If that's true, the sequence read in HBase, e.g. large scan is suboptimal, right?   nice finding!
                
> short-circuit reads do not honor readahead settings
> ---------------------------------------------------
>
>                 Key: HDFS-4697
>                 URL: https://issues.apache.org/jira/browse/HDFS-4697
>             Project: Hadoop HDFS
>          Issue Type: Bug
>          Components: hdfs-client
>    Affects Versions: 2.0.3-alpha
>            Reporter: Colin Patrick McCabe
>            Assignee: Colin Patrick McCabe
>            Priority: Minor
>
> Neither the new nor the legacy short-circuit read implementations honor {{dfs.datanode.readahead.bytes}}.  This can result in scenarios where non-short-circuit reads are faster for long reads, simply because they are doing more readahead, and SCR is not.  We should do readahead in both cases if it is configured.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira