Created on 01-09-2015 08:02 AM - edited 09-16-2022 02:18 AM
Hello,
I want to do a folder that can be accessed in r, w,x by all the users of the group 'developer' that I created.
I also want that all the folders/files created by these users in this folder can be accessed in r,w,x by the users from this group.
All the other users should access the folder in r and x.
What should I do?
I tried:
- to create my folder with these rights: drwxrwxr-t+
- the folder that I created is owned by admin who is part of the developer group.
All I think is missing is to add the default group of my users the developer group : do something like
hadoop def -usermod -G developer Peter
But this is not working!
Thank you!
Created 01-12-2015 02:04 PM
David Wilder, Community Manager
Created 01-09-2015 03:08 PM
David Wilder, Community Manager
Created 01-12-2015 12:29 AM
Thank you david for this complete answer!
However, I'm facing some problems...
On my namenode, when I do
sudo usermod -G developer Peter
I get user 'Peter' does not exist. (Note, I created this user with the Hue interface)
When I do
hdfs groups Peter
I get no group. To be precise I get
Peter:
I checked that the property hadoop.security.group.mapping is org.apache.hadoop.security.ShellBasedUnixGroupsMapping
Note: I created the user, the group and associated the group to the user in Hue interface. And these users, and groups do not seem to be visible on the OS (CentOS).
Created 01-12-2015 01:05 AM
Note:
- I tried the command
sudo usermod -G developer Peter
on all instances of the cluster => no result
- I tried to do the same thing on a quickstart VM and I managed to make it work by only using the interface. I still not manage to make it work on the 7 machine cluster.
- When we installed the cluster, we had to create a user in cloudera manager and then create them again in cloudera director. is this normal? can this be linked to my problem?
Created 01-12-2015 02:04 PM
David Wilder, Community Manager
Created 01-10-2015 10:17 PM