[
https://issues.apache.org/jira/browse/HADOOP-1589?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12511574
]
Jim Kellerman commented on HADOOP-1589:
---------------------------------------
Doug Cutting said in 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
> Exception handling in HBase is broken over client server connections
> --------------------------------------------------------------------
>
> Key: HADOOP-1589
> URL: https://issues.apache.org/jira/browse/HADOOP-1589
> Project: Hadoop
> Issue Type: Bug
> Components: contrib/hbase
> Affects Versions: 0.14.0, 0.15.0
> Reporter: Jim Kellerman
> Assignee: Jim Kellerman
> Fix For: 0.14.0, 0.15.0
>
>
> When an exception is thrown in a server process, the Hadoop Server class
> passes the exception class name and error message across the wire to the
> Hadoop Client. The Hadoop Client then throws a RemoteException with the class
> name and error message as part of its payload. Thus an interface like:
> public HRegionInfo getRegionInfo(final Text regionName) throws
> NotServingRegionException;
> actually throws a RemoteException on the client with
> org.apache.hadoop.hbase.NotServingRegionException as the class name and the
> remote message as the message.
> Anywhere in the HBase code where we try to catch NotServingRegionException
> will thus never see it if it came across an RPC.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.