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 "Steve Loughran (JIRA)" <ji...@apache.org> on 2009/04/03 14:02:16 UTC

[jira] Updated: (HADOOP-5348) Create a stable wire format for exceptions

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

Steve Loughran updated HADOOP-5348:
-----------------------------------

    Attachment: hadoop-5348.patch

This is an updated patch with test case. It does not attempt to go from serialized form to exceptions, only from exceptions to wire form. The recipient is left to deal with it in this format. 

You do not need to have an exception to create one of these objects -creating one with just a message is much lower cost, as stack tracing is expensive in a JVM. 

> Create a stable wire format for exceptions
> ------------------------------------------
>
>                 Key: HADOOP-5348
>                 URL: https://issues.apache.org/jira/browse/HADOOP-5348
>             Project: Hadoop Core
>          Issue Type: New Feature
>          Components: ipc
>    Affects Versions: 0.21.0
>            Reporter: Steve Loughran
>             Fix For: 0.21.0
>
>         Attachments: hadoop-5348.patch, ThrowableWritable.java
>
>
> HADOOP-5201 and other issues would benefit from a stable representation of exceptions, one that can be sent over the network, maybe pushed out to web UIs and which we can be 100% sure that the far end will be able to handle if they have the hadoop-core JAR on their classpath.

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