[
https://issues.apache.org/jira/browse/HDFS-2653?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13168449#comment-13168449
]
Hudson commented on HDFS-2653:
------------------------------
Integrated in Hadoop-Mapreduce-trunk #926 (See
[https://builds.apache.org/job/Hadoop-Mapreduce-trunk/926/])
HDFS-2653. DFSClient should cache whether addrs are non-local when
short-circuiting is enabled. Contributed by Eli Collins
eli : http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1213586
Files :
* /hadoop/common/trunk/hadoop-hdfs-project/hadoop-hdfs/CHANGES.txt
*
/hadoop/common/trunk/hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/DFSClient.java
> DFSClient should cache whether addrs are non-local when short-circuiting is
> enabled
> -----------------------------------------------------------------------------------
>
> Key: HDFS-2653
> URL: https://issues.apache.org/jira/browse/HDFS-2653
> Project: Hadoop HDFS
> Issue Type: Improvement
> Components: data-node
> Affects Versions: 0.23.1, 1.0.0
> Reporter: Eli Collins
> Assignee: Eli Collins
> Fix For: 0.23.1, 1.1.0
>
> Attachments: hdfs-2653-1.patch, hdfs-2653-2.patch, hdfs-2653-2.patch,
> hdfs-2653-b1-1.patch, hdfs-2653-b1-2.patch
>
>
> Something Todd mentioned to me off-line.. currently DFSClient doesn't cache
> the fact that non-local reads are non-local, so if short-circuiting is
> enabled every time we create a block reader we'll go through the
> isLocalAddress code path. We should cache the fact that an addr is non-local
> as well.
--
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