[ 
https://issues.apache.org/jira/browse/HADOOP-7488?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13072350#comment-13072350
 ] 

Uma Maheswara Rao G commented on HADOOP-7488:
---------------------------------------------

Thanks Jhon for taking alook on this issue.
Updated a patch for review!.

This patch introduces a property( max.ping.retries.on.socket.timeout ). Default 
value will be -1, represents that disabling of this property.

In this scenario, if we unplug the network cable between the nodes, this ping 
reads will get timeouts continuosly . SocketTimeOuts was handled and retried 
infinitely.So, it was waiting for long time.....

Now , to avoid this problem, we can configure the number of ping retries.
Anyway continuos timeouts means , somthing wrong in network/cluster, we can 
restrict this retries by configuring the above property.

Bydefault this property will be disabled.


--Thanks

> When Namenode network is unplugged, DFSClient operations waits for ever
> -----------------------------------------------------------------------
>
>                 Key: HADOOP-7488
>                 URL: https://issues.apache.org/jira/browse/HADOOP-7488
>             Project: Hadoop Common
>          Issue Type: Bug
>          Components: ipc
>            Reporter: Uma Maheswara Rao G
>         Attachments: HADOOP-7488.patch
>
>
> When NN/DN is shutdown gracefully, the DFSClient operations which are waiting 
> for a response from NN/DN, will throw exception & come out quickly
> But when the NN/DN network is unplugged, the DFSClient operations which are 
> waiting for a response from NN/DN, waits for ever.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Reply via email to