You are viewing a plain text version of this content. The canonical link for it is here.
Posted to hdfs-dev@hadoop.apache.org by "Brandon Li (JIRA)" <ji...@apache.org> on 2014/05/28 00:50:03 UTC

[jira] [Created] (HDFS-6451) NFS should not return NFS3ERR_IO for AccessControlException

Brandon Li created HDFS-6451:
--------------------------------

             Summary: 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
            Reporter: Brandon Li


As [~jingzhao] pointed out in HDFS-6411, we need to catch the AccessControlException from the HDFS calls, and return NFS3ERR_PERM 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)