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

Tsz Wo (Nicholas), SZE updated HADOOP-4703:
-------------------------------------------

    Attachment: 4073_20081120.patch

4073_20081120.patch: change waitForProxy(...) to getProxy(...) in creating 
InterDatanodeProtocol and ClientDatanodeProtocol.

waitForProxy(...) waits forever if there are ConnectException.  It seems not 
right since if the server in the other side is down, the client cannot detect 
it but keep waiting.

> DataNode.createInterDataNodeProtocolProxy should not wait for proxy forever 
> while recovering lease
> --------------------------------------------------------------------------------------------------
>
>                 Key: HADOOP-4703
>                 URL: https://issues.apache.org/jira/browse/HADOOP-4703
>             Project: Hadoop Core
>          Issue Type: Bug
>          Components: dfs
>    Affects Versions: 0.18.0
>            Reporter: Hairong Kuang
>             Fix For: 0.18.3
>
>         Attachments: 4073_20081120.patch
>
>
> The problem is that the list of DataNodes may contain DataNode that has 
> already shutdown as the case in 
> TestFileCreationClient.testClientTriggeredLeaseRecovery(). Using waitForProxy 
> causes the DataNode to wait forever for the dead DataNode.

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