You are viewing a plain text version of this content. The canonical link for it is here.
Posted to common-dev@hadoop.apache.org by "Hairong Kuang (JIRA)" <ji...@apache.org> on 2008/03/06 19:00:58 UTC

[jira] Issue Comment Edited: (HADOOP-2870) Datanode.shutdown() and Namenode.stop() should close all rpc connections

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

hairong edited comment on HADOOP-2870 at 3/6/08 10:00 AM:
----------------------------------------------------------------

The new patch incorporates the following comments:
1. Move Client's reference count to Client;
2. Make TaskTracker and JobClient close connections in close;
3. Move client.stop out of the critical section in stopClient;
4. slowping -> slowPing

      was (Author: hairong):
    The new patch incorporates the following comments:
1. Move Client's reference count to Client;
2. Make TaskTracker and JobClient close connections in close;
3. Move stopClient out of the critical section in stopProxy.
  
> Datanode.shutdown() and Namenode.stop() should close all rpc connections
> ------------------------------------------------------------------------
>
>                 Key: HADOOP-2870
>                 URL: https://issues.apache.org/jira/browse/HADOOP-2870
>             Project: Hadoop Core
>          Issue Type: Bug
>          Components: ipc
>    Affects Versions: 0.16.0
>            Reporter: Hairong Kuang
>            Assignee: Hairong Kuang
>             Fix For: 0.17.0
>
>         Attachments: closeConnection.patch, closeConnection1.patch
>
>
> Currently this two cleanup methods do not close all existing rpc connections. If a mini dfs cluster gets shutdown and then restarted as we do in TestFileCreation, RPCs in second mini cluster reuse the unclosed connections opened in the first run but there is no server running to serve the request. So the client get stuck waiting for the response forever if client side timeout gets removed as suggested by hadoop-2811.

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