hadoop-hdfs-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Hudson (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HDFS-6451) NFS should not return NFS3ERR_IO for AccessControlException
Date Tue, 05 Aug 2014 12:34:21 GMT

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

Hudson commented on HDFS-6451:
------------------------------

FAILURE: Integrated in Hadoop-Hdfs-trunk #1828 (See [https://builds.apache.org/job/Hadoop-Hdfs-trunk/1828/])
HDFS-6451. NFS should not return NFS3ERR_IO for AccessControlException. Contributed by Abhiraj
Butala (brandonli: http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1615702)
* /hadoop/common/trunk/hadoop-hdfs-project/hadoop-hdfs-nfs/src/main/java/org/apache/hadoop/hdfs/nfs/nfs3/RpcProgramNfs3.java
* /hadoop/common/trunk/hadoop-hdfs-project/hadoop-hdfs-nfs/src/test/java/org/apache/hadoop/hdfs/nfs/nfs3/TestRpcProgramNfs3.java
* /hadoop/common/trunk/hadoop-hdfs-project/hadoop-hdfs/CHANGES.txt


> NFS should not return NFS3ERR_IO for AccessControlException 
> ------------------------------------------------------------
>
>                 Key: HDFS-6451
>                 URL: https://issues.apache.org/jira/browse/HDFS-6451
>             Project: Hadoop HDFS
>          Issue Type: Bug
>          Components: nfs
>    Affects Versions: 2.2.0
>            Reporter: Brandon Li
>            Assignee: Abhiraj Butala
>             Fix For: 2.6.0
>
>         Attachments: HDFS-6451.002.patch, HDFS-6451.003.patch, HDFS-6451.patch
>
>
> As [~jingzhao] pointed out in HDFS-6411, we need to catch the AccessControlException
from the HDFS calls, and return NFS3ERR_ACCESS instead of NFS3ERR_IO for it.
> Another possible improvement is to have a single class/method for the common exception
handling process, instead of repeating the same exception handling process in different NFS
methods.



--
This message was sent by Atlassian JIRA
(v6.2#6252)

Mime
View raw message