[
https://issues.apache.org/jira/browse/HADOOP-1588?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12511569
]
Doug Cutting commented on HADOOP-1588:
--------------------------------------
Ideally we'd rethrow any exception that's:
a. compatible version loadable by the client JVM;
b. declared by the interface;
c. implements Writable (or perhaps Serializeable);
We'll never be able to rethrow all exceptions because of (a).
This was previously discussed in HADOOP-266.
> HClient should unwrap RemoteException and throw the original exception instead
> ------------------------------------------------------------------------------
>
> Key: HADOOP-1588
> URL: https://issues.apache.org/jira/browse/HADOOP-1588
> Project: Hadoop
> Issue Type: Improvement
> Components: contrib/hbase
> Affects Versions: 0.14.0
> Reporter: Jim Kellerman
> Assignee: Jim Kellerman
> Priority: Minor
> Fix For: 0.14.0
>
>
> When an exception is thrown on the server side, the Hadoop IPC bundles it up
> into a RemoteException on the client side.
> If the original exception was a subclass of IOException or RuntimeException,
> HClient should unwrap the RemoteException and throw the original exception
> instead.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.