[ https://issues.apache.org/jira/browse/HDFS-2653?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13168078#comment-13168078 ]
Todd Lipcon commented on HDFS-2653: ----------------------------------- (on both branches) > 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 > 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