[
https://issues.apache.org/jira/browse/HADOOP-4009?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12625005#action_12625005
]
Konstantin Shvachko commented on HADOOP-4009:
---------------------------------------------
Re-throwing should be rather easy since we have {{unwrapRemoteException()}}.
But catching and analyzing the "real" exceptions instead of {{RemoteException}}
as we do now will involve a lot of code changes.
> Declare HDFS exceptions in the HDFS interface and also in class FileSystem
> and rethrow the encapsulated exception
> -----------------------------------------------------------------------------------------------------------------
>
> Key: HADOOP-4009
> URL: https://issues.apache.org/jira/browse/HADOOP-4009
> Project: Hadoop Core
> Issue Type: Sub-task
> Reporter: Sanjay Radia
>
> Server-side exceptions are encapsulated in the remote exception (as the
> class name and the error string ).
> The client side and FileSystem does not declare or thrown the these
> encapsulated exception.
> Work Items
> * Declare the exceptions in FileSystem and the HDFS interface (but still as
> subclasses of IOException)
> * Rethrow encapsulated declared exceptions if they are the declared
> exception.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.