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


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

        

Reply via email to