You are viewing a plain text version of this content. The canonical link for it is here.
Posted to hdfs-issues@hadoop.apache.org by "Tsz Wo (Nicholas), SZE (JIRA)" <ji...@apache.org> on 2013/01/31 04:31:14 UTC

[jira] [Commented] (HDFS-4361) When listing snapshottable directories, only return those where the user has permission to take snapshots

    [ 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