[
https://issues.apache.org/jira/browse/HADOOP-9093?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Suresh Srinivas updated HADOOP-9093:
------------------------------------
Attachment: HADOOP-9093.patch
Changes in the early version of the patch:
# Moved all the exceptions from PathExceptions under o.a.h.fs package under
separate files.
# Added more descriptive javadoc to each of the exceptions.
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.
> 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