Sticky bit check may throw ArrayIndexOutOfBoundsException
---------------------------------------------------------

                 Key: HDFS-2503
                 URL: https://issues.apache.org/jira/browse/HDFS-2503
             Project: Hadoop HDFS
          Issue Type: Bug
          Components: name-node
            Reporter: Tsz Wo (Nicholas), SZE


Calling delete on the root path:
{noformat}
java.lang.ArrayIndexOutOfBoundsException: -1
        at 
org.apache.hadoop.hdfs.server.namenode.FSPermissionChecker.checkPermission(FSPermissionChecker.java:132)
        at 
org.apache.hadoop.hdfs.server.namenode.FSNamesystem.checkPermission(FSNamesystem.java:3518)
        at 
org.apache.hadoop.hdfs.server.namenode.FSNamesystem.deleteInternal(FSNamesystem.java:1913)
        at 
org.apache.hadoop.hdfs.server.namenode.FSNamesystem.delete(FSNamesystem.java:1877)
        ...
{noformat}

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Reply via email to