[
https://issues.apache.org/jira/browse/HADOOP-922?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12468820
]
Hadoop QA commented on HADOOP-922:
----------------------------------
-1, because the patch command could not apply the latest attachment
(http://issues.apache.org/jira/secure/attachment/12349962/smallreadseek4.patch)
as a patch to trunk revision r501616. Please note that this message is
automatically generated and may represent a problem with the automation system
and not the patch.
> Optimize small reads and seeks
> ------------------------------
>
> Key: HADOOP-922
> URL: https://issues.apache.org/jira/browse/HADOOP-922
> Project: Hadoop
> Issue Type: Bug
> Components: dfs
> Affects Versions: 0.10.1
> Reporter: dhruba borthakur
> Assigned To: dhruba borthakur
> Fix For: 0.11.0
>
> Attachments: smallreadseek4.patch
>
>
> A seek on a DFSInputStream causes causes the next read to re-open the socket
> connection to the datanode and fetch the remainder of the block all over
> again. This is not optimal.
> A small read followed by a small positive seek could re-utilize the data
> already fetched from the datanode as part of the previous read.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.