hadoop-hdfs-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Aaron T. Myers (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HDFS-452) Fs -count throws Access Control Exception when restricted acess directories are present in the user's directory .
Date Wed, 22 Jun 2011 07:15:47 GMT

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

Aaron T. Myers commented on HDFS-452:
-------------------------------------

I suspect this is no longer an issue on trunk and can be closed.

Ravi or Raghu, can you confirm?

> Fs -count throws Access Control Exception when restricted acess directories are present
in the user's directory  . 
> -------------------------------------------------------------------------------------------------------------------
>
>                 Key: HDFS-452
>                 URL: https://issues.apache.org/jira/browse/HDFS-452
>             Project: Hadoop HDFS
>          Issue Type: Bug
>    Affects Versions: 0.20.1
>            Reporter: Ravi Phulari
>
> If there are any directories  with restricted access to user are present  in users directory
then fs -count  operation on users directory throws  Access control exception .
> e.g 
> {code}
> [rphulari@some-host ~]$ hadoop fs -ls /user/ | grep rphulari
> drwxr--r--   - rphulari    users            0 2009-06-09 22:05 /user/rphulari
> [rphulari@some-host ~]$ hadoop fs -ls
> Found 3 items
> drwx------   - hdfs     users          0 2009-04-17 01:11 /user/rphulari/temp
> drwxr--r--   - rphulari users          0 2009-05-06 22:02 /user/rphulari/temp2
> -rw-r--r--   3 rphulari users          0 2009-05-06 22:11 /user/rphulari/test
> [rphulari@some-host ~]$ hadoop fs -count /user/rphulari
> count: org.apache.hadoop.security.AccessControlException: Permission denied: user=rphulari,
access=READ_EXECUTE, inode="temp":hdfs:users:rwx------
> {code}
> Ideal out put  should be quota information about user owned dir/files and  error notification
about files/dir which are not owned by user.

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

        

Mime
View raw message