hadoop-hdfs-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Benoy Antony (JIRA)" <j...@apache.org>
Subject [jira] [Created] (HDFS-2274) More coverage needed for FSPermissionChecker
Date Fri, 19 Aug 2011 20:13:29 GMT
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

        

Mime
View raw message