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

Suresh Srinivas commented on HDFS-2274:
---------------------------------------

Can you post a patch please.

> 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

        

Reply via email to