You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@hadoop.apache.org by "rongshen.long" <ro...@baifendian.com> on 2012/11/08 09:00:03 UTC

feel puzzled at HDFS group permissions check

hi,
I set the mode of a directory on hdfs to 'rwxrwx---' ,however, I was denied to access the directory by dfs shell as a user in the same group . Did I make a mistake? 
 
[raw@hadoop-test-3 ~]$ hadoop fs -ls /user/query  
ls: could not get get listing for 'hdfs://192.168.32.23:8020/user/query' : org.apache.hadoop.security.AccessControlException: Permission denied: user=raw, access=READ_EXECUTE, inode="query":query:raw:rwxrwx---
[raw@hadoop-test-3 ~]$ bash -c groups
raw

2012-11-08



rongshen.long

Re: Re: feel puzzled at HDFS group permissions check

Posted by "rongshen.long" <ro...@baifendian.com>.
Jagat Singh:
Thanks for your help, I create the same groups and users in namenode as the clients , it works!


2012-11-08



rongshen.long



发件人:Jagat Singh
发送时间:2012-11-08 16:09
主题:Re: feel puzzled at HDFS group permissions check
收件人:"user"<us...@hadoop.apache.org>
抄送:

What are your groups and users in Namenode and JT




On Thu, Nov 8, 2012 at 7:00 PM, rongshen.long <ro...@baifendian.com> wrote:

hi,
I set the mode of a directory on hdfs to 'rwxrwx---' ,however, I was denied to access the directory by dfs shell as a user in the same group . Did I make a mistake? 
 
[raw@hadoop-test-3 ~]$ hadoop fs -ls /user/query  
ls: could not get get listing for 'hdfs://192.168.32.23:8020/user/query' : org.apache.hadoop.security.AccessControlException: Permission denied: user=raw, access=READ_EXECUTE, inode="query":query:raw:rwxrwx---
[raw@hadoop-test-3 ~]$ bash -c groups
raw

2012-11-08



rongshen.long

Re: Re: feel puzzled at HDFS group permissions check

Posted by "rongshen.long" <ro...@baifendian.com>.
Jagat Singh:
Thanks for your help, I create the same groups and users in namenode as the clients , it works!


2012-11-08



rongshen.long



发件人:Jagat Singh
发送时间:2012-11-08 16:09
主题:Re: feel puzzled at HDFS group permissions check
收件人:"user"<us...@hadoop.apache.org>
抄送:

What are your groups and users in Namenode and JT




On Thu, Nov 8, 2012 at 7:00 PM, rongshen.long <ro...@baifendian.com> wrote:

hi,
I set the mode of a directory on hdfs to 'rwxrwx---' ,however, I was denied to access the directory by dfs shell as a user in the same group . Did I make a mistake? 
 
[raw@hadoop-test-3 ~]$ hadoop fs -ls /user/query  
ls: could not get get listing for 'hdfs://192.168.32.23:8020/user/query' : org.apache.hadoop.security.AccessControlException: Permission denied: user=raw, access=READ_EXECUTE, inode="query":query:raw:rwxrwx---
[raw@hadoop-test-3 ~]$ bash -c groups
raw

2012-11-08



rongshen.long

Re: Re: feel puzzled at HDFS group permissions check

Posted by "rongshen.long" <ro...@baifendian.com>.
Jagat Singh:
Thanks for your help, I create the same groups and users in namenode as the clients , it works!


2012-11-08



rongshen.long



发件人:Jagat Singh
发送时间:2012-11-08 16:09
主题:Re: feel puzzled at HDFS group permissions check
收件人:"user"<us...@hadoop.apache.org>
抄送:

What are your groups and users in Namenode and JT




On Thu, Nov 8, 2012 at 7:00 PM, rongshen.long <ro...@baifendian.com> wrote:

hi,
I set the mode of a directory on hdfs to 'rwxrwx---' ,however, I was denied to access the directory by dfs shell as a user in the same group . Did I make a mistake? 
 
[raw@hadoop-test-3 ~]$ hadoop fs -ls /user/query  
ls: could not get get listing for 'hdfs://192.168.32.23:8020/user/query' : org.apache.hadoop.security.AccessControlException: Permission denied: user=raw, access=READ_EXECUTE, inode="query":query:raw:rwxrwx---
[raw@hadoop-test-3 ~]$ bash -c groups
raw

2012-11-08



rongshen.long

Re: Re: feel puzzled at HDFS group permissions check

Posted by "rongshen.long" <ro...@baifendian.com>.
Jagat Singh:
Thanks for your help, I create the same groups and users in namenode as the clients , it works!


2012-11-08



rongshen.long



发件人:Jagat Singh
发送时间:2012-11-08 16:09
主题:Re: feel puzzled at HDFS group permissions check
收件人:"user"<us...@hadoop.apache.org>
抄送:

What are your groups and users in Namenode and JT




On Thu, Nov 8, 2012 at 7:00 PM, rongshen.long <ro...@baifendian.com> wrote:

hi,
I set the mode of a directory on hdfs to 'rwxrwx---' ,however, I was denied to access the directory by dfs shell as a user in the same group . Did I make a mistake? 
 
[raw@hadoop-test-3 ~]$ hadoop fs -ls /user/query  
ls: could not get get listing for 'hdfs://192.168.32.23:8020/user/query' : org.apache.hadoop.security.AccessControlException: Permission denied: user=raw, access=READ_EXECUTE, inode="query":query:raw:rwxrwx---
[raw@hadoop-test-3 ~]$ bash -c groups
raw

2012-11-08



rongshen.long

Re: feel puzzled at HDFS group permissions check

Posted by Jagat Singh <ja...@gmail.com>.
What are your groups and users in Namenode and JT


On Thu, Nov 8, 2012 at 7:00 PM, rongshen.long
<ro...@baifendian.com>wrote:

> **
> **
> hi,
> I set the mode of a directory on hdfs to 'rwxrwx---' ,however, I was
> denied to access the directory by dfs shell as a user in the same
> group . Did I make a mistake?
>
> [raw@hadoop-test-3 ~]$ hadoop fs -ls /user/query
> ls: could not get get listing for 'hdfs://192.168.32.23:8020/user/query'
> : org.apache.hadoop.security.AccessControlException: Permission denied:
> user=raw, access=READ_EXECUTE, inode="query":query:raw:rwxrwx---
> [raw@hadoop-test-3 ~]$ bash -c groups
> raw
>
> 2012-11-08
> ------------------------------
>  rongshen.long
> **
>

Re: feel puzzled at HDFS group permissions check

Posted by Jagat Singh <ja...@gmail.com>.
What are your groups and users in Namenode and JT


On Thu, Nov 8, 2012 at 7:00 PM, rongshen.long
<ro...@baifendian.com>wrote:

> **
> **
> hi,
> I set the mode of a directory on hdfs to 'rwxrwx---' ,however, I was
> denied to access the directory by dfs shell as a user in the same
> group . Did I make a mistake?
>
> [raw@hadoop-test-3 ~]$ hadoop fs -ls /user/query
> ls: could not get get listing for 'hdfs://192.168.32.23:8020/user/query'
> : org.apache.hadoop.security.AccessControlException: Permission denied:
> user=raw, access=READ_EXECUTE, inode="query":query:raw:rwxrwx---
> [raw@hadoop-test-3 ~]$ bash -c groups
> raw
>
> 2012-11-08
> ------------------------------
>  rongshen.long
> **
>

RE: feel puzzled at HDFS group permissions check

Posted by "Kartashov, Andy" <An...@mpac.ca>.
Try adding user [raw] to the hadoop group. For now, user [raw] belongs to the “others” where there are no read|write|execute permissions are set.
From: rongshen.long [mailto:rongshen.long@baifendian.com]
Sent: Thursday, November 08, 2012 3:00 AM
To: user
Subject: feel puzzled at HDFS group permissions check

hi,
I set the mode of a directory on hdfs to 'rwxrwx---' ,however, I was denied to access the directory by dfs shell as a user in the same group . Did I make a mistake?

[raw@hadoop-test-3 ~]$ hadoop fs -ls /user/query
ls: could not get get listing for 'hdfs://192.168.32.23:8020/user/query' : org.apache.hadoop.security.AccessControlException: Permission denied: user=raw, access=READ_EXECUTE, inode="query":query:raw:rwxrwx---
[raw@hadoop-test-3 ~]$ bash -c groups
raw

2012-11-08
________________________________
rongshen.long
NOTICE: This e-mail message and any attachments are confidential, subject to copyright and may be privileged. Any unauthorized use, copying or disclosure is prohibited. If you are not the intended recipient, please delete and contact the sender immediately. Please consider the environment before printing this e-mail. AVIS : le présent courriel et toute pièce jointe qui l'accompagne sont confidentiels, protégés par le droit d'auteur et peuvent être couverts par le secret professionnel. Toute utilisation, copie ou divulgation non autorisée est interdite. Si vous n'êtes pas le destinataire prévu de ce courriel, supprimez-le et contactez immédiatement l'expéditeur. Veuillez penser à l'environnement avant d'imprimer le présent courriel

Re: feel puzzled at HDFS group permissions check

Posted by Jagat Singh <ja...@gmail.com>.
What are your groups and users in Namenode and JT


On Thu, Nov 8, 2012 at 7:00 PM, rongshen.long
<ro...@baifendian.com>wrote:

> **
> **
> hi,
> I set the mode of a directory on hdfs to 'rwxrwx---' ,however, I was
> denied to access the directory by dfs shell as a user in the same
> group . Did I make a mistake?
>
> [raw@hadoop-test-3 ~]$ hadoop fs -ls /user/query
> ls: could not get get listing for 'hdfs://192.168.32.23:8020/user/query'
> : org.apache.hadoop.security.AccessControlException: Permission denied:
> user=raw, access=READ_EXECUTE, inode="query":query:raw:rwxrwx---
> [raw@hadoop-test-3 ~]$ bash -c groups
> raw
>
> 2012-11-08
> ------------------------------
>  rongshen.long
> **
>

Re: feel puzzled at HDFS group permissions check

Posted by Jagat Singh <ja...@gmail.com>.
What are your groups and users in Namenode and JT


On Thu, Nov 8, 2012 at 7:00 PM, rongshen.long
<ro...@baifendian.com>wrote:

> **
> **
> hi,
> I set the mode of a directory on hdfs to 'rwxrwx---' ,however, I was
> denied to access the directory by dfs shell as a user in the same
> group . Did I make a mistake?
>
> [raw@hadoop-test-3 ~]$ hadoop fs -ls /user/query
> ls: could not get get listing for 'hdfs://192.168.32.23:8020/user/query'
> : org.apache.hadoop.security.AccessControlException: Permission denied:
> user=raw, access=READ_EXECUTE, inode="query":query:raw:rwxrwx---
> [raw@hadoop-test-3 ~]$ bash -c groups
> raw
>
> 2012-11-08
> ------------------------------
>  rongshen.long
> **
>

RE: feel puzzled at HDFS group permissions check

Posted by "Kartashov, Andy" <An...@mpac.ca>.
Try adding user [raw] to the hadoop group. For now, user [raw] belongs to the “others” where there are no read|write|execute permissions are set.
From: rongshen.long [mailto:rongshen.long@baifendian.com]
Sent: Thursday, November 08, 2012 3:00 AM
To: user
Subject: feel puzzled at HDFS group permissions check

hi,
I set the mode of a directory on hdfs to 'rwxrwx---' ,however, I was denied to access the directory by dfs shell as a user in the same group . Did I make a mistake?

[raw@hadoop-test-3 ~]$ hadoop fs -ls /user/query
ls: could not get get listing for 'hdfs://192.168.32.23:8020/user/query' : org.apache.hadoop.security.AccessControlException: Permission denied: user=raw, access=READ_EXECUTE, inode="query":query:raw:rwxrwx---
[raw@hadoop-test-3 ~]$ bash -c groups
raw

2012-11-08
________________________________
rongshen.long
NOTICE: This e-mail message and any attachments are confidential, subject to copyright and may be privileged. Any unauthorized use, copying or disclosure is prohibited. If you are not the intended recipient, please delete and contact the sender immediately. Please consider the environment before printing this e-mail. AVIS : le présent courriel et toute pièce jointe qui l'accompagne sont confidentiels, protégés par le droit d'auteur et peuvent être couverts par le secret professionnel. Toute utilisation, copie ou divulgation non autorisée est interdite. Si vous n'êtes pas le destinataire prévu de ce courriel, supprimez-le et contactez immédiatement l'expéditeur. Veuillez penser à l'environnement avant d'imprimer le présent courriel

RE: feel puzzled at HDFS group permissions check

Posted by "Kartashov, Andy" <An...@mpac.ca>.
Try adding user [raw] to the hadoop group. For now, user [raw] belongs to the “others” where there are no read|write|execute permissions are set.
From: rongshen.long [mailto:rongshen.long@baifendian.com]
Sent: Thursday, November 08, 2012 3:00 AM
To: user
Subject: feel puzzled at HDFS group permissions check

hi,
I set the mode of a directory on hdfs to 'rwxrwx---' ,however, I was denied to access the directory by dfs shell as a user in the same group . Did I make a mistake?

[raw@hadoop-test-3 ~]$ hadoop fs -ls /user/query
ls: could not get get listing for 'hdfs://192.168.32.23:8020/user/query' : org.apache.hadoop.security.AccessControlException: Permission denied: user=raw, access=READ_EXECUTE, inode="query":query:raw:rwxrwx---
[raw@hadoop-test-3 ~]$ bash -c groups
raw

2012-11-08
________________________________
rongshen.long
NOTICE: This e-mail message and any attachments are confidential, subject to copyright and may be privileged. Any unauthorized use, copying or disclosure is prohibited. If you are not the intended recipient, please delete and contact the sender immediately. Please consider the environment before printing this e-mail. AVIS : le présent courriel et toute pièce jointe qui l'accompagne sont confidentiels, protégés par le droit d'auteur et peuvent être couverts par le secret professionnel. Toute utilisation, copie ou divulgation non autorisée est interdite. Si vous n'êtes pas le destinataire prévu de ce courriel, supprimez-le et contactez immédiatement l'expéditeur. Veuillez penser à l'environnement avant d'imprimer le présent courriel

RE: feel puzzled at HDFS group permissions check

Posted by "Kartashov, Andy" <An...@mpac.ca>.
Try adding user [raw] to the hadoop group. For now, user [raw] belongs to the “others” where there are no read|write|execute permissions are set.
From: rongshen.long [mailto:rongshen.long@baifendian.com]
Sent: Thursday, November 08, 2012 3:00 AM
To: user
Subject: feel puzzled at HDFS group permissions check

hi,
I set the mode of a directory on hdfs to 'rwxrwx---' ,however, I was denied to access the directory by dfs shell as a user in the same group . Did I make a mistake?

[raw@hadoop-test-3 ~]$ hadoop fs -ls /user/query
ls: could not get get listing for 'hdfs://192.168.32.23:8020/user/query' : org.apache.hadoop.security.AccessControlException: Permission denied: user=raw, access=READ_EXECUTE, inode="query":query:raw:rwxrwx---
[raw@hadoop-test-3 ~]$ bash -c groups
raw

2012-11-08
________________________________
rongshen.long
NOTICE: This e-mail message and any attachments are confidential, subject to copyright and may be privileged. Any unauthorized use, copying or disclosure is prohibited. If you are not the intended recipient, please delete and contact the sender immediately. Please consider the environment before printing this e-mail. AVIS : le présent courriel et toute pièce jointe qui l'accompagne sont confidentiels, protégés par le droit d'auteur et peuvent être couverts par le secret professionnel. Toute utilisation, copie ou divulgation non autorisée est interdite. Si vous n'êtes pas le destinataire prévu de ce courriel, supprimez-le et contactez immédiatement l'expéditeur. Veuillez penser à l'environnement avant d'imprimer le présent courriel