You are viewing a plain text version of this content. The canonical link for it is here.
Posted to common-issues@hadoop.apache.org by "Todd Lipcon (JIRA)" <ji...@apache.org> on 2011/01/27 21:46:44 UTC

[jira] Created: (HADOOP-7121) Exceptions while serializing IPC call response are not handled well

Exceptions while serializing IPC call response are not handled well
-------------------------------------------------------------------

                 Key: HADOOP-7121
                 URL: https://issues.apache.org/jira/browse/HADOOP-7121
             Project: Hadoop Common
          Issue Type: Bug
          Components: ipc
    Affects Versions: 0.22.0
            Reporter: Todd Lipcon
            Assignee: Todd Lipcon
            Priority: Critical
             Fix For: 0.22.0


We had a situation where for some reason the serialization of an RPC call's response was throwing OOME. When this happens, the exception is not caught, and the call never gets a response - the client just hangs. Additionally, the OOME propagated all the way to the top of the IPC handler and caused the handler. Plus, the Handler upon exit only logged to stdout and not to the log4j logs.

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


Re: [jira] Created: (HADOOP-7121) Exceptions while serializing IPC call response are not handled well

Posted by sic slc <si...@gmail.com>.
unsubscribe

On Thu, Jan 27, 2011 at 1:46 PM, Todd Lipcon (JIRA) <ji...@apache.org> wrote:

> Exceptions while serializing IPC call response are not handled well
> -------------------------------------------------------------------
>
>                 Key: HADOOP-7121
>                 URL: https://issues.apache.org/jira/browse/HADOOP-7121
>             Project: Hadoop Common
>          Issue Type: Bug
>          Components: ipc
>    Affects Versions: 0.22.0
>            Reporter: Todd Lipcon
>            Assignee: Todd Lipcon
>            Priority: Critical
>             Fix For: 0.22.0
>
>
> We had a situation where for some reason the serialization of an RPC call's
> response was throwing OOME. When this happens, the exception is not caught,
> and the call never gets a response - the client just hangs. Additionally,
> the OOME propagated all the way to the top of the IPC handler and caused the
> handler. Plus, the Handler upon exit only logged to stdout and not to the
> log4j logs.
>
> --
> This message is automatically generated by JIRA.
> -
> You can reply to this email to add a comment to the issue online.
>
>

[jira] [Assigned] (HADOOP-7121) Exceptions while serializing IPC call response are not handled well

Posted by "Todd Lipcon (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/HADOOP-7121?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Todd Lipcon reassigned HADOOP-7121:
-----------------------------------

    Assignee: Todd Lipcon

> Exceptions while serializing IPC call response are not handled well
> -------------------------------------------------------------------
>
>                 Key: HADOOP-7121
>                 URL: https://issues.apache.org/jira/browse/HADOOP-7121
>             Project: Hadoop Common
>          Issue Type: Bug
>          Components: ipc
>    Affects Versions: 0.22.0
>            Reporter: Todd Lipcon
>            Assignee: Todd Lipcon
>            Priority: Critical
>              Labels: newbie
>             Fix For: 0.22.0
>
>
> We had a situation where for some reason the serialization of an RPC call's response was throwing OOME. When this happens, the exception is not caught, and the call never gets a response - the client just hangs. Additionally, the OOME propagated all the way to the top of the IPC handler and caused the handler. Plus, the Handler upon exit only logged to stdout and not to the log4j logs.

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

[jira] [Commented] (HADOOP-7121) Exceptions while serializing IPC call response are not handled well

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

Hadoop QA commented on HADOOP-7121:
-----------------------------------

-1 overall.  Here are the results of testing the latest attachment 
  http://issues.apache.org/jira/secure/attachment/12481031/hadoop-7121.txt
  against trunk revision 1129982.

    +1 @author.  The patch does not contain any @author tags.

    +1 tests included.  The patch appears to include 3 new or modified tests.

    -1 patch.  The patch command could not apply the patch.

Console output: https://builds.apache.org/hudson/job/PreCommit-HADOOP-Build/552//console

This message is automatically generated.

> Exceptions while serializing IPC call response are not handled well
> -------------------------------------------------------------------
>
>                 Key: HADOOP-7121
>                 URL: https://issues.apache.org/jira/browse/HADOOP-7121
>             Project: Hadoop Common
>          Issue Type: Bug
>          Components: ipc
>    Affects Versions: 0.22.0
>            Reporter: Todd Lipcon
>            Assignee: Todd Lipcon
>            Priority: Critical
>              Labels: newbie
>             Fix For: 0.22.0
>
>         Attachments: hadoop-7121.txt, hadoop-7121.txt, hadoop-7121.txt
>
>
> We had a situation where for some reason the serialization of an RPC call's response was throwing OOME. When this happens, the exception is not caught, and the call never gets a response - the client just hangs. Additionally, the OOME propagated all the way to the top of the IPC handler and caused the handler. Plus, the Handler upon exit only logged to stdout and not to the log4j logs.

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

[jira] [Updated] (HADOOP-7121) Exceptions while serializing IPC call response are not handled well

Posted by "Todd Lipcon (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/HADOOP-7121?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Todd Lipcon updated HADOOP-7121:
--------------------------------

    Status: Patch Available  (was: Open)

> Exceptions while serializing IPC call response are not handled well
> -------------------------------------------------------------------
>
>                 Key: HADOOP-7121
>                 URL: https://issues.apache.org/jira/browse/HADOOP-7121
>             Project: Hadoop Common
>          Issue Type: Bug
>          Components: ipc
>    Affects Versions: 0.22.0
>            Reporter: Todd Lipcon
>            Assignee: Todd Lipcon
>            Priority: Critical
>              Labels: newbie
>             Fix For: 0.22.0
>
>         Attachments: hadoop-7121.txt
>
>
> We had a situation where for some reason the serialization of an RPC call's response was throwing OOME. When this happens, the exception is not caught, and the call never gets a response - the client just hangs. Additionally, the OOME propagated all the way to the top of the IPC handler and caused the handler. Plus, the Handler upon exit only logged to stdout and not to the log4j logs.

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

[jira] [Assigned] (HADOOP-7121) Exceptions while serializing IPC call response are not handled well

Posted by "Todd Lipcon (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/HADOOP-7121?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Todd Lipcon reassigned HADOOP-7121:
-----------------------------------

    Assignee:     (was: Todd Lipcon)

> Exceptions while serializing IPC call response are not handled well
> -------------------------------------------------------------------
>
>                 Key: HADOOP-7121
>                 URL: https://issues.apache.org/jira/browse/HADOOP-7121
>             Project: Hadoop Common
>          Issue Type: Bug
>          Components: ipc
>    Affects Versions: 0.22.0
>            Reporter: Todd Lipcon
>            Priority: Critical
>              Labels: newbie
>             Fix For: 0.22.0
>
>
> We had a situation where for some reason the serialization of an RPC call's response was throwing OOME. When this happens, the exception is not caught, and the call never gets a response - the client just hangs. Additionally, the OOME propagated all the way to the top of the IPC handler and caused the handler. Plus, the Handler upon exit only logged to stdout and not to the log4j logs.

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

[jira] [Commented] (HADOOP-7121) Exceptions while serializing IPC call response are not handled well

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

Hudson commented on HADOOP-7121:
--------------------------------

Integrated in Hadoop-Common-trunk-Commit #635 (See [https://builds.apache.org/hudson/job/Hadoop-Common-trunk-Commit/635/])
    HADOOP-7349. HADOOP-7121 accidentally disabled some tests in TestIPC. Contributed by Todd Lipcon.

todd : http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1130758
Files : 
* /hadoop/common/trunk/CHANGES.txt
* /hadoop/common/trunk/src/test/core/org/apache/hadoop/ipc/TestIPC.java


> Exceptions while serializing IPC call response are not handled well
> -------------------------------------------------------------------
>
>                 Key: HADOOP-7121
>                 URL: https://issues.apache.org/jira/browse/HADOOP-7121
>             Project: Hadoop Common
>          Issue Type: Bug
>          Components: ipc
>    Affects Versions: 0.22.0
>            Reporter: Todd Lipcon
>            Assignee: Todd Lipcon
>            Priority: Critical
>              Labels: newbie
>             Fix For: 0.22.0
>
>         Attachments: hadoop-7121.txt, hadoop-7121.txt, hadoop-7121.txt
>
>
> We had a situation where for some reason the serialization of an RPC call's response was throwing OOME. When this happens, the exception is not caught, and the call never gets a response - the client just hangs. Additionally, the OOME propagated all the way to the top of the IPC handler and caused the handler. Plus, the Handler upon exit only logged to stdout and not to the log4j logs.

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

[jira] [Commented] (HADOOP-7121) Exceptions while serializing IPC call response are not handled well

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

Hudson commented on HADOOP-7121:
--------------------------------

Integrated in Hadoop-Common-trunk-Commit #631 (See [https://builds.apache.org/hudson/job/Hadoop-Common-trunk-Commit/631/])
    HADOOP-7121. Exceptions while serializing IPC call responses are not handled well. Contributed by Todd Lipcon.

todd : http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1129982
Files : 
* /hadoop/common/trunk/CHANGES.txt
* /hadoop/common/trunk/src/java/org/apache/hadoop/ipc/Server.java
* /hadoop/common/trunk/src/test/core/org/apache/hadoop/ipc/TestIPC.java


> Exceptions while serializing IPC call response are not handled well
> -------------------------------------------------------------------
>
>                 Key: HADOOP-7121
>                 URL: https://issues.apache.org/jira/browse/HADOOP-7121
>             Project: Hadoop Common
>          Issue Type: Bug
>          Components: ipc
>    Affects Versions: 0.22.0
>            Reporter: Todd Lipcon
>            Assignee: Todd Lipcon
>            Priority: Critical
>              Labels: newbie
>             Fix For: 0.22.0
>
>         Attachments: hadoop-7121.txt, hadoop-7121.txt, hadoop-7121.txt
>
>
> We had a situation where for some reason the serialization of an RPC call's response was throwing OOME. When this happens, the exception is not caught, and the call never gets a response - the client just hangs. Additionally, the OOME propagated all the way to the top of the IPC handler and caused the handler. Plus, the Handler upon exit only logged to stdout and not to the log4j logs.

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

[jira] [Commented] (HADOOP-7121) Exceptions while serializing IPC call response are not handled well

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

Hadoop QA commented on HADOOP-7121:
-----------------------------------

+1 overall.  Here are the results of testing the latest attachment 
  http://issues.apache.org/jira/secure/attachment/12481024/hadoop-7121.txt
  against trunk revision 1129905.

    +1 @author.  The patch does not contain any @author tags.

    +1 tests included.  The patch appears to include 3 new or modified tests.

    +1 javadoc.  The javadoc tool did not generate any warning messages.

    +1 javac.  The applied patch does not increase the total number of javac compiler warnings.

    +1 findbugs.  The patch does not introduce any new Findbugs (version 1.3.9) warnings.

    +1 release audit.  The applied patch does not increase the total number of release audit warnings.

    +1 core tests.  The patch passed core unit tests.

    +1 system test framework.  The patch passed system test framework compile.

Test results: https://builds.apache.org/hudson/job/PreCommit-HADOOP-Build/551//testReport/
Findbugs warnings: https://builds.apache.org/hudson/job/PreCommit-HADOOP-Build/551//artifact/trunk/build/test/findbugs/newPatchFindbugsWarnings.html
Console output: https://builds.apache.org/hudson/job/PreCommit-HADOOP-Build/551//console

This message is automatically generated.

> Exceptions while serializing IPC call response are not handled well
> -------------------------------------------------------------------
>
>                 Key: HADOOP-7121
>                 URL: https://issues.apache.org/jira/browse/HADOOP-7121
>             Project: Hadoop Common
>          Issue Type: Bug
>          Components: ipc
>    Affects Versions: 0.22.0
>            Reporter: Todd Lipcon
>            Assignee: Todd Lipcon
>            Priority: Critical
>              Labels: newbie
>             Fix For: 0.22.0
>
>         Attachments: hadoop-7121.txt, hadoop-7121.txt
>
>
> We had a situation where for some reason the serialization of an RPC call's response was throwing OOME. When this happens, the exception is not caught, and the call never gets a response - the client just hangs. Additionally, the OOME propagated all the way to the top of the IPC handler and caused the handler. Plus, the Handler upon exit only logged to stdout and not to the log4j logs.

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

[jira] [Commented] (HADOOP-7121) Exceptions while serializing IPC call response are not handled well

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

Hudson commented on HADOOP-7121:
--------------------------------

Integrated in Hadoop-Common-22-branch #61 (See [https://builds.apache.org/hudson/job/Hadoop-Common-22-branch/61/])
    HADOOP-7349. HADOOP-7121 accidentally disabled some tests in TestIPC. Contributed by Todd Lipcon.

todd : http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1130757
Files : 
* /hadoop/common/branches/branch-0.22/src/test/core/org/apache/hadoop/ipc/TestIPC.java
* /hadoop/common/branches/branch-0.22/CHANGES.txt


> Exceptions while serializing IPC call response are not handled well
> -------------------------------------------------------------------
>
>                 Key: HADOOP-7121
>                 URL: https://issues.apache.org/jira/browse/HADOOP-7121
>             Project: Hadoop Common
>          Issue Type: Bug
>          Components: ipc
>    Affects Versions: 0.22.0
>            Reporter: Todd Lipcon
>            Assignee: Todd Lipcon
>            Priority: Critical
>              Labels: newbie
>             Fix For: 0.22.0
>
>         Attachments: hadoop-7121.txt, hadoop-7121.txt, hadoop-7121.txt
>
>
> We had a situation where for some reason the serialization of an RPC call's response was throwing OOME. When this happens, the exception is not caught, and the call never gets a response - the client just hangs. Additionally, the OOME propagated all the way to the top of the IPC handler and caused the handler. Plus, the Handler upon exit only logged to stdout and not to the log4j logs.

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

[jira] [Commented] (HADOOP-7121) Exceptions while serializing IPC call response are not handled well

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

Hudson commented on HADOOP-7121:
--------------------------------

Integrated in Hadoop-Common-trunk #708 (See [https://builds.apache.org/hudson/job/Hadoop-Common-trunk/708/])
    HADOOP-7349. HADOOP-7121 accidentally disabled some tests in TestIPC. Contributed by Todd Lipcon.

todd : http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1130758
Files : 
* /hadoop/common/trunk/CHANGES.txt
* /hadoop/common/trunk/src/test/core/org/apache/hadoop/ipc/TestIPC.java


> Exceptions while serializing IPC call response are not handled well
> -------------------------------------------------------------------
>
>                 Key: HADOOP-7121
>                 URL: https://issues.apache.org/jira/browse/HADOOP-7121
>             Project: Hadoop Common
>          Issue Type: Bug
>          Components: ipc
>    Affects Versions: 0.22.0
>            Reporter: Todd Lipcon
>            Assignee: Todd Lipcon
>            Priority: Critical
>              Labels: newbie
>             Fix For: 0.22.0
>
>         Attachments: hadoop-7121.txt, hadoop-7121.txt, hadoop-7121.txt
>
>
> We had a situation where for some reason the serialization of an RPC call's response was throwing OOME. When this happens, the exception is not caught, and the call never gets a response - the client just hangs. Additionally, the OOME propagated all the way to the top of the IPC handler and caused the handler. Plus, the Handler upon exit only logged to stdout and not to the log4j logs.

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

[jira] [Commented] (HADOOP-7121) Exceptions while serializing IPC call response are not handled well

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

Hudson commented on HADOOP-7121:
--------------------------------

Integrated in Hadoop-Common-trunk #706 (See [https://builds.apache.org/hudson/job/Hadoop-Common-trunk/706/])
    HADOOP-7121. Exceptions while serializing IPC call responses are not handled well. Contributed by Todd Lipcon.

todd : http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1129982
Files : 
* /hadoop/common/trunk/CHANGES.txt
* /hadoop/common/trunk/src/java/org/apache/hadoop/ipc/Server.java
* /hadoop/common/trunk/src/test/core/org/apache/hadoop/ipc/TestIPC.java


> Exceptions while serializing IPC call response are not handled well
> -------------------------------------------------------------------
>
>                 Key: HADOOP-7121
>                 URL: https://issues.apache.org/jira/browse/HADOOP-7121
>             Project: Hadoop Common
>          Issue Type: Bug
>          Components: ipc
>    Affects Versions: 0.22.0
>            Reporter: Todd Lipcon
>            Assignee: Todd Lipcon
>            Priority: Critical
>              Labels: newbie
>             Fix For: 0.22.0
>
>         Attachments: hadoop-7121.txt, hadoop-7121.txt, hadoop-7121.txt
>
>
> We had a situation where for some reason the serialization of an RPC call's response was throwing OOME. When this happens, the exception is not caught, and the call never gets a response - the client just hangs. Additionally, the OOME propagated all the way to the top of the IPC handler and caused the handler. Plus, the Handler upon exit only logged to stdout and not to the log4j logs.

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

[jira] [Updated] (HADOOP-7121) Exceptions while serializing IPC call response are not handled well

Posted by "Todd Lipcon (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/HADOOP-7121?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Todd Lipcon updated HADOOP-7121:
--------------------------------

    Attachment: hadoop-7121.txt

Updated patch against trunk

> Exceptions while serializing IPC call response are not handled well
> -------------------------------------------------------------------
>
>                 Key: HADOOP-7121
>                 URL: https://issues.apache.org/jira/browse/HADOOP-7121
>             Project: Hadoop Common
>          Issue Type: Bug
>          Components: ipc
>    Affects Versions: 0.22.0
>            Reporter: Todd Lipcon
>            Assignee: Todd Lipcon
>            Priority: Critical
>              Labels: newbie
>             Fix For: 0.22.0
>
>         Attachments: hadoop-7121.txt, hadoop-7121.txt
>
>
> We had a situation where for some reason the serialization of an RPC call's response was throwing OOME. When this happens, the exception is not caught, and the call never gets a response - the client just hangs. Additionally, the OOME propagated all the way to the top of the IPC handler and caused the handler. Plus, the Handler upon exit only logged to stdout and not to the log4j logs.

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

[jira] [Updated] (HADOOP-7121) Exceptions while serializing IPC call response are not handled well

Posted by "Todd Lipcon (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/HADOOP-7121?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Todd Lipcon updated HADOOP-7121:
--------------------------------

    Attachment: hadoop-7121.txt

Attached patch adds coverage to all parts of the IPC lifecycle:
- client side write param
- server side read param
- server side write response
- client side read response

In the cases that the error occurs server side, it sends back the exception to the client as well as logging it.


> Exceptions while serializing IPC call response are not handled well
> -------------------------------------------------------------------
>
>                 Key: HADOOP-7121
>                 URL: https://issues.apache.org/jira/browse/HADOOP-7121
>             Project: Hadoop Common
>          Issue Type: Bug
>          Components: ipc
>    Affects Versions: 0.22.0
>            Reporter: Todd Lipcon
>            Assignee: Todd Lipcon
>            Priority: Critical
>              Labels: newbie
>             Fix For: 0.22.0
>
>         Attachments: hadoop-7121.txt
>
>
> We had a situation where for some reason the serialization of an RPC call's response was throwing OOME. When this happens, the exception is not caught, and the call never gets a response - the client just hangs. Additionally, the OOME propagated all the way to the top of the IPC handler and caused the handler. Plus, the Handler upon exit only logged to stdout and not to the log4j logs.

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

[jira] [Commented] (HADOOP-7121) Exceptions while serializing IPC call response are not handled well

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

Hadoop QA commented on HADOOP-7121:
-----------------------------------

-1 overall.  Here are the results of testing the latest attachment 
  http://issues.apache.org/jira/secure/attachment/12481021/hadoop-7121.txt
  against trunk revision 1129905.

    +1 @author.  The patch does not contain any @author tags.

    +1 tests included.  The patch appears to include 3 new or modified tests.

    -1 patch.  The patch command could not apply the patch.

Console output: https://builds.apache.org/hudson/job/PreCommit-HADOOP-Build/549//console

This message is automatically generated.

> Exceptions while serializing IPC call response are not handled well
> -------------------------------------------------------------------
>
>                 Key: HADOOP-7121
>                 URL: https://issues.apache.org/jira/browse/HADOOP-7121
>             Project: Hadoop Common
>          Issue Type: Bug
>          Components: ipc
>    Affects Versions: 0.22.0
>            Reporter: Todd Lipcon
>            Assignee: Todd Lipcon
>            Priority: Critical
>              Labels: newbie
>             Fix For: 0.22.0
>
>         Attachments: hadoop-7121.txt
>
>
> We had a situation where for some reason the serialization of an RPC call's response was throwing OOME. When this happens, the exception is not caught, and the call never gets a response - the client just hangs. Additionally, the OOME propagated all the way to the top of the IPC handler and caused the handler. Plus, the Handler upon exit only logged to stdout and not to the log4j logs.

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

[jira] [Updated] (HADOOP-7121) Exceptions while serializing IPC call response are not handled well

Posted by "Todd Lipcon (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/HADOOP-7121?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Todd Lipcon updated HADOOP-7121:
--------------------------------

    Attachment: hadoop-7121.txt

nits fixed. Since it was just a whitespace change from previous patch I will commit this version based on Eli's +1.

> Exceptions while serializing IPC call response are not handled well
> -------------------------------------------------------------------
>
>                 Key: HADOOP-7121
>                 URL: https://issues.apache.org/jira/browse/HADOOP-7121
>             Project: Hadoop Common
>          Issue Type: Bug
>          Components: ipc
>    Affects Versions: 0.22.0
>            Reporter: Todd Lipcon
>            Assignee: Todd Lipcon
>            Priority: Critical
>              Labels: newbie
>             Fix For: 0.22.0
>
>         Attachments: hadoop-7121.txt, hadoop-7121.txt, hadoop-7121.txt
>
>
> We had a situation where for some reason the serialization of an RPC call's response was throwing OOME. When this happens, the exception is not caught, and the call never gets a response - the client just hangs. Additionally, the OOME propagated all the way to the top of the IPC handler and caused the handler. Plus, the Handler upon exit only logged to stdout and not to the log4j logs.

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

[jira] [Commented] (HADOOP-7121) Exceptions while serializing IPC call response are not handled well

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

Hudson commented on HADOOP-7121:
--------------------------------

Integrated in Hadoop-Common-22-branch #59 (See [https://builds.apache.org/hudson/job/Hadoop-Common-22-branch/59/])
    HADOOP-7121. Exceptions while serializing IPC call responses are not handled well. Contributed by Todd Lipcon.

todd : http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1129983
Files : 
* /hadoop/common/branches/branch-0.22/src/java/org/apache/hadoop/ipc/Server.java
* /hadoop/common/branches/branch-0.22/src/test/core/org/apache/hadoop/ipc/TestIPC.java
* /hadoop/common/branches/branch-0.22/CHANGES.txt


> Exceptions while serializing IPC call response are not handled well
> -------------------------------------------------------------------
>
>                 Key: HADOOP-7121
>                 URL: https://issues.apache.org/jira/browse/HADOOP-7121
>             Project: Hadoop Common
>          Issue Type: Bug
>          Components: ipc
>    Affects Versions: 0.22.0
>            Reporter: Todd Lipcon
>            Assignee: Todd Lipcon
>            Priority: Critical
>              Labels: newbie
>             Fix For: 0.22.0
>
>         Attachments: hadoop-7121.txt, hadoop-7121.txt, hadoop-7121.txt
>
>
> We had a situation where for some reason the serialization of an RPC call's response was throwing OOME. When this happens, the exception is not caught, and the call never gets a response - the client just hangs. Additionally, the OOME propagated all the way to the top of the IPC handler and caused the handler. Plus, the Handler upon exit only logged to stdout and not to the log4j logs.

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

[jira] [Updated] (HADOOP-7121) Exceptions while serializing IPC call response are not handled well

Posted by "Todd Lipcon (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/HADOOP-7121?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Todd Lipcon updated HADOOP-7121:
--------------------------------

      Resolution: Fixed
    Hadoop Flags: [Reviewed]
          Status: Resolved  (was: Patch Available)

Committed to trunk and 22. Thanks for reviewing, Eli

> Exceptions while serializing IPC call response are not handled well
> -------------------------------------------------------------------
>
>                 Key: HADOOP-7121
>                 URL: https://issues.apache.org/jira/browse/HADOOP-7121
>             Project: Hadoop Common
>          Issue Type: Bug
>          Components: ipc
>    Affects Versions: 0.22.0
>            Reporter: Todd Lipcon
>            Assignee: Todd Lipcon
>            Priority: Critical
>              Labels: newbie
>             Fix For: 0.22.0
>
>         Attachments: hadoop-7121.txt, hadoop-7121.txt, hadoop-7121.txt
>
>
> We had a situation where for some reason the serialization of an RPC call's response was throwing OOME. When this happens, the exception is not caught, and the call never gets a response - the client just hangs. Additionally, the OOME propagated all the way to the top of the IPC handler and caused the handler. Plus, the Handler upon exit only logged to stdout and not to the log4j logs.

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

[jira] [Commented] (HADOOP-7121) Exceptions while serializing IPC call response are not handled well

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

Eli Collins commented on HADOOP-7121:
-------------------------------------

+1  lgtm

Nit: lines 1364, 1366, 1612 don't need to wrap

> Exceptions while serializing IPC call response are not handled well
> -------------------------------------------------------------------
>
>                 Key: HADOOP-7121
>                 URL: https://issues.apache.org/jira/browse/HADOOP-7121
>             Project: Hadoop Common
>          Issue Type: Bug
>          Components: ipc
>    Affects Versions: 0.22.0
>            Reporter: Todd Lipcon
>            Assignee: Todd Lipcon
>            Priority: Critical
>              Labels: newbie
>             Fix For: 0.22.0
>
>         Attachments: hadoop-7121.txt, hadoop-7121.txt
>
>
> We had a situation where for some reason the serialization of an RPC call's response was throwing OOME. When this happens, the exception is not caught, and the call never gets a response - the client just hangs. Additionally, the OOME propagated all the way to the top of the IPC handler and caused the handler. Plus, the Handler upon exit only logged to stdout and not to the log4j logs.

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