[
https://issues.apache.org/jira/browse/HADOOP-9093?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13504267#comment-13504267
]
Suresh Srinivas commented on HADOOP-9093:
-----------------------------------------
Nicholas, since you are waiting for this patch, I will commit this. My previous
comment:
bq. I propose using FileNotFoundException instead of PathNotFoundException as
it is already extensively used. Similarly use AccessControlException instead of
PathAccessException. If folks agree, I will make that change in the next patch.
Alternatively we could at least make these exceptions subclasses of the
exception that I am proposing replacing them with.
I will followup on it in another jira.
> 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
> 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