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

Tsz Wo (Nicholas), SZE commented on HDFS-4361:
----------------------------------------------

- Use check.user for UserGroupInformation.getCurrentUser().getShortUserName().
- Pass null username for superuser and remove isSuper paramenter.
                
> When listing snapshottable directories, only return those where the user has 
> permission to take snapshots
> ---------------------------------------------------------------------------------------------------------
>
>                 Key: HDFS-4361
>                 URL: https://issues.apache.org/jira/browse/HDFS-4361
>             Project: Hadoop HDFS
>          Issue Type: Sub-task
>          Components: datanode, namenode
>            Reporter: Jing Zhao
>            Assignee: Jing Zhao
>         Attachments: HDFS-4361.001.patch, HDFS-4361.002.patch
>
>


--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Reply via email to