[ 
https://issues.apache.org/jira/browse/HDFS-1310?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12905354#action_12905354
 ] 

Tsz Wo (Nicholas), SZE commented on HDFS-1310:
----------------------------------------------

{code}
     for(DatanodeInfo datanode : locatedblock.getLocations()) {
+      final ClientDatanodeProtocol cdp = 
DFSClient.createClientDatanodeProtocolProxy(
+        datanode, dfsClient.conf, dfsClient.socketTimeout, locatedblock);
+      
       try {
-        final ClientDatanodeProtocol cdp = 
DFSClient.createClientDatanodeProtocolProxy(
-            datanode, dfsClient.conf, dfsClient.socketTimeout, locatedblock);
{code}
Found a problem: If createClientDatanodeProtocolProxy(..) throws an exception, 
it won't try the remaining datanodes.  Sorry that I have not seen it earlier.

> TestFileConcurrentReader fails
> ------------------------------
>
>                 Key: HDFS-1310
>                 URL: https://issues.apache.org/jira/browse/HDFS-1310
>             Project: Hadoop HDFS
>          Issue Type: Test
>    Affects Versions: 0.22.0
>            Reporter: Suresh Srinivas
>            Assignee: sam rash
>         Attachments: hdfs-1310-1.txt
>
>
> For details of test failure see 
> http://hudson.zones.apache.org/hudson/job/Hdfs-Patch-h2.grid.sp2.yahoo.net/218/testReport/

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to