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/05/05 16:12:30 UTC

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

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

Steve Loughran commented on HADOOP-5348:
----------------------------------------

Maybe the term "wire format" is wrong; I should retitle this. Its about a stable Writable for exceptions that doesn't rely on the far end to have every exception in the Java chain. Rather than serialise the throwable and hope the far end has its classpath in perfect sync, right down to JDBC drivers, this turns the exception chain into a chain of ThrowableWritables, which can then be written and read.

We could add Avro support to this when the time comes. 

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