hadoop-hdfs-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Eli Collins (Updated) (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (HDFS-2653) DFSClient should cache whether addrs are non-local when short-circuiting is enabled
Date Sat, 10 Dec 2011 02:26:40 GMT

     [ https://issues.apache.org/jira/browse/HDFS-2653?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Eli Collins updated HDFS-2653:
------------------------------

    Attachment: hdfs-2653-1.patch

Patch for trunk attached. Similar one for branch-1 coming.
                
> 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
>
>
> 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

        

Mime
View raw message