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 "Jim Kellerman (JIRA)" <ji...@apache.org> on 2007/07/10 19:33:04 UTC
[jira] Created: (HADOOP-1588) HClient should unwrap RemoteException
and throw the original exception instead
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.
[jira] Work started: (HADOOP-1588) HClient should unwrap
RemoteException and throw the original exception instead
Posted by "Jim Kellerman (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/HADOOP-1588?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Work on HADOOP-1588 started by Jim Kellerman.
> 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.
[jira] Resolved: (HADOOP-1588) HClient should unwrap
RemoteException and throw the original exception instead
Posted by "Jim Kellerman (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/HADOOP-1588?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Jim Kellerman resolved HADOOP-1588.
-----------------------------------
Resolution: Duplicate
As this is farther reaching than just HClient, I have opened a new issue HADOOP-1589 and am closing this issue as a duplicate
> 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.
[jira] Commented: (HADOOP-1588) HClient should unwrap
RemoteException and throw the original exception instead
Posted by "Doug Cutting (JIRA)" <ji...@apache.org>.
[ 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.