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 "Benoy Antony (JIRA)" <ji...@apache.org> on 2011/08/19 22:13:29 UTC

[jira] [Created] (HDFS-2274) More coverage needed for FSPermissionChecker

More coverage needed for FSPermissionChecker
--------------------------------------------

                 Key: HDFS-2274
                 URL: https://issues.apache.org/jira/browse/HDFS-2274
             Project: Hadoop HDFS
          Issue Type: Test
          Components: test
    Affects Versions: 0.22.0
            Reporter: Benoy Antony
         Attachments: 85.html

The unit test coverage for FSPermissionChecker is at 92%. Two conditions in FSPermissionChecker.checkStickyBit()  needs to be covered. Those two conditions are below:

 // If this user is the directory owner, return
        if(parent.getUserName().equals(user)) {
          return;
        }
     
        // if this user is the file owner, return
        if(inode.getUserName().equals(user)) {
          return;
        }

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira