[jira] [Updated] (HDFS-2653) DFSClient should cache whether addrs are non-local when short-circuiting is enabled

2011-12-13 Thread Eli Collins (Updated) (JIRA)

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

Eli Collins updated HDFS-2653:
--

  Resolution: Fixed
   Fix Version/s: 1.1.0
  0.23.1
Target Version/s:   (was: 1.1.0, 0.23.1)
Hadoop Flags: Reviewed
  Status: Resolved  (was: Patch Available)

Thanks Todd. I've committed this.

> 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




[jira] [Updated] (HDFS-2653) DFSClient should cache whether addrs are non-local when short-circuiting is enabled

2011-12-10 Thread Eli Collins (Updated) (JIRA)

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

Eli Collins updated HDFS-2653:
--

Target Version/s: 0.23.1, 1.1.0  (was: 1.1.0, 0.23.1)
  Status: Patch Available  (was: Open)

> 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




[jira] [Updated] (HDFS-2653) DFSClient should cache whether addrs are non-local when short-circuiting is enabled

2011-12-10 Thread Eli Collins (Updated) (JIRA)

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

Eli Collins updated HDFS-2653:
--

Target Version/s: 0.23.1, 1.1.0  (was: 1.1.0, 0.23.1)
  Status: Open  (was: Patch Available)

> 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




[jira] [Updated] (HDFS-2653) DFSClient should cache whether addrs are non-local when short-circuiting is enabled

2011-12-10 Thread Eli Collins (Updated) (JIRA)

 [ 
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-2.patch

Attaching same patch to kick Jenkins.

> 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




[jira] [Updated] (HDFS-2653) DFSClient should cache whether addrs are non-local when short-circuiting is enabled

2011-12-09 Thread Eli Collins (Updated) (JIRA)

 [ 
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-b1-2.patch

Updated patch for branch-1 attached.

> 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-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




[jira] [Updated] (HDFS-2653) DFSClient should cache whether addrs are non-local when short-circuiting is enabled

2011-12-09 Thread Eli Collins (Updated) (JIRA)

 [ 
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-2.patch

That's better, updated patch attached.

> 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-b1-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




[jira] [Updated] (HDFS-2653) DFSClient should cache whether addrs are non-local when short-circuiting is enabled

2011-12-09 Thread Eli Collins (Updated) (JIRA)

 [ 
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-b1-1.patch

Patch for branch-1.

> 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-b1-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




[jira] [Updated] (HDFS-2653) DFSClient should cache whether addrs are non-local when short-circuiting is enabled

2011-12-09 Thread Eli Collins (Updated) (JIRA)

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

Eli Collins updated HDFS-2653:
--

Target Version/s: 0.23.1, 1.1.0  (was: 1.1.0, 0.23.1)
  Status: Patch Available  (was: Open)

> 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




[jira] [Updated] (HDFS-2653) DFSClient should cache whether addrs are non-local when short-circuiting is enabled

2011-12-09 Thread Eli Collins (Updated) (JIRA)

 [ 
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