[ 
https://issues.apache.org/jira/browse/HDFS-1079?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12862395#action_12862395
 ] 

Suresh Srinivas commented on HDFS-1079:
---------------------------------------

Eli, given we need a test for checking right exceptions are thrown from 
FileContext for various file systems, I have created Hadoop-6736 to capture 
that effort. The test is fairly involved and is better off done in a separate 
jira.

Yes, we should throw HadoopIllegalArgumentException where currently 
IllegalArgumentExceptions are thrown.

> HDFS implementation should throw exceptions defined in AbstractFileSystem
> -------------------------------------------------------------------------
>
>                 Key: HDFS-1079
>                 URL: https://issues.apache.org/jira/browse/HDFS-1079
>             Project: Hadoop HDFS
>          Issue Type: New Feature
>          Components: name-node
>            Reporter: Suresh Srinivas
>            Assignee: Suresh Srinivas
>             Fix For: 0.22.0
>
>         Attachments: HDFS-1079.1.patch, HDFS-1079.patch, HDFS-1079.patch
>
>
> HDFS implementation Hdfs.java should throw exceptions as defined in 
> AbstractFileSystem. To facilitate this, ClientProtocol should be changed to 
> throw specific exceptions, as defined in AbstractFileSystem.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to