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 "Koji Noguchi (JIRA)" <ji...@apache.org> on 2008/08/29 19:41:44 UTC

[jira] Created: (HADOOP-4048) ipc.Client: Log when Server side closes the socket while request is still pending

ipc.Client:  Log when Server side closes the socket while request is still pending
----------------------------------------------------------------------------------

                 Key: HADOOP-4048
                 URL: https://issues.apache.org/jira/browse/HADOOP-4048
             Project: Hadoop Core
          Issue Type: Improvement
          Components: ipc
            Reporter: Koji Noguchi
            Priority: Minor


ipc/Client.java
{noformat}
316       } catch (EOFException eof) {
317         // This is what happens when the remote side goes down
318       } 
{noformat}

Request to log  when Server side closes the socket while some requests are still pending.

This would have helped when debugging HADOOP-4040.

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


[jira] Commented: (HADOOP-4048) ipc.Client: Log when Server side closes the socket while request is still pending

Posted by "Raghu Angadi (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/HADOOP-4048?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12627069#action_12627069 ] 

Raghu Angadi commented on HADOOP-4048:
--------------------------------------

This code Koji posted is from 0.17. The client behaves essentially the same in trunk also.

Currently there is no exception expected when client reads from the server. So any exception should be logged as warning.


> ipc.Client:  Log when Server side closes the socket while request is still pending
> ----------------------------------------------------------------------------------
>
>                 Key: HADOOP-4048
>                 URL: https://issues.apache.org/jira/browse/HADOOP-4048
>             Project: Hadoop Core
>          Issue Type: Improvement
>          Components: ipc
>            Reporter: Koji Noguchi
>            Priority: Minor
>
> ipc/Client.java
> {noformat}
> 316       } catch (EOFException eof) {
> 317         // This is what happens when the remote side goes down
> 318       } 
> {noformat}
> Request to log  when Server side closes the socket while some requests are still pending.
> This would have helped when debugging HADOOP-4040.

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


[jira] Commented: (HADOOP-4048) ipc.Client: Log when Server side closes the socket while request is still pending

Posted by "Steve Loughran (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/HADOOP-4048?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12627433#action_12627433 ] 

Steve Loughran commented on HADOOP-4048:
----------------------------------------

In trunk, are we looking at the catch(IOException) code in sendParam() and readResponse()? 

> ipc.Client:  Log when Server side closes the socket while request is still pending
> ----------------------------------------------------------------------------------
>
>                 Key: HADOOP-4048
>                 URL: https://issues.apache.org/jira/browse/HADOOP-4048
>             Project: Hadoop Core
>          Issue Type: Improvement
>          Components: ipc
>            Reporter: Koji Noguchi
>            Priority: Minor
>
> ipc/Client.java
> {noformat}
> 316       } catch (EOFException eof) {
> 317         // This is what happens when the remote side goes down
> 318       } 
> {noformat}
> Request to log  when Server side closes the socket while some requests are still pending.
> This would have helped when debugging HADOOP-4040.

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