hadoop-common-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Tsz Wo (Nicholas), SZE (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HADOOP-9093) Move all the Exception in PathExceptions to o.a.h.fs package
Date Tue, 27 Nov 2012 19:57:58 GMT

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

Tsz Wo (Nicholas), SZE commented on HADOOP-9093:
------------------------------------------------

> ...  I suppose PathException could be an interface ...

I also have thought about changing the base class to interface.  However, it may not be very
useful since we cannot catch interface as it no longer extends Throwable.
                
> Move all the Exception in PathExceptions to o.a.h.fs package
> ------------------------------------------------------------
>
>                 Key: HADOOP-9093
>                 URL: https://issues.apache.org/jira/browse/HADOOP-9093
>             Project: Hadoop Common
>          Issue Type: Improvement
>    Affects Versions: 2.0.2-alpha
>            Reporter: Suresh Srinivas
>            Assignee: Suresh Srinivas
>             Fix For: 2.0.3-alpha
>
>         Attachments: HADOOP-9093.patch
>
>
> The exceptions in PathExceptions are useful for non shell related functionality as well.
Making this available as exceptions under fs will help move some of the HDFS implementation
code throw more specific exception than throwing IOException (for example see HDFS-4209).

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Mime
View raw message