|
|
-
feel puzzled at HDFS group permissions check
rongshen.long 2012-11-08, 08:00
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
Jagat Singh 2012-11-08, 08:05
What are your groups and users in Namenode and JT On Thu, Nov 8, 2012 at 7:00 PM, rongshen.long <[EMAIL PROTECTED]>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
rongshen.long 2012-11-08, 09:53
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"<[EMAIL PROTECTED]> 抄送:
What are your groups and users in Namenode and JT On Thu, Nov 8, 2012 at 7:00 PM, rongshen.long <[EMAIL PROTECTED]> 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
Kartashov, Andy 2012-11-08, 19:25
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:[EMAIL PROTECTED]] 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
|
|