hadoop-common-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Steve Loughran (JIRA)" <j...@apache.org>
Subject [jira] Updated: (HADOOP-5348) Create a stable wire format for exceptions
Date Fri, 03 Apr 2009 12:02:16 GMT

     [ 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.


Mime
View raw message