hadoop-hdfs-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Kartashov, Andy" <Andy.Kartas...@mpac.ca>
Subject RE: feel puzzled at HDFS group permissions check
Date Thu, 08 Nov 2012 19:25:34 GMT
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

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://' : org.apache.hadoop.security.AccessControlException:
Permission denied: user=raw, access=READ_EXECUTE, inode="query":query:raw:rwxrwx---
[raw@hadoop-test-3 ~]$ bash -c groups

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
View raw message