We have several questions:
1-Is there a way to create a user on all nodes?
2-If we use LDAP for authentication where will be the home directories on each node?
3- What is the best option?
Hi Ozgur Kaya ,
1) If it is MapR user then during MapR installation users going to create across all the nodes with same user userid and group id as well. check this for more details Managing Users and Groups - MapR 5.0 Documentation - doc.mapr.com
2) MapR supports LDAP and we can configure home directories as well check below for more details
LDAP Authentication - MapR 5.0 Documentation - doc.mapr.com
3) Best option could be always creating user and giving permissions to particular user and groups
please let me know if you require more information on this
As you said LDAP is the best way for managing the users across all the nodes (centrally) . The Home directories will reside in different machines ( It is not common across all the machines ).
We can use some other workaround for using the home directories across all nodes (Like NFS mounted etc.,)
Sorry for late response. Thank you for your answer. We created a new user all the nodes with same uid/gid. however, when we run
hadoop jar /opt/mapr/hadoop/hadoop-0.20.2/hadoop-0.20.2-dev-examples.jar pi 2 50
we get following error:
ERROR JniCommon fs/client/fileclient/cc/jni_MapRClient.cc:2073 Thread: 28306 mkdirs failed for /user/okaya/PiEstimator_TMP_3_141592654/in, error 13
org.apache.hadoop.security.AccessControlException: User okaya(user id 5001) has been denied access to create in
We have a mapr user and mapr group which was created installation time. We add user okaya to the mapr group. Both users have same group ID (5000).
Here are permissions for /home:
drwx------. 3 mapr mapr 4096 Jul 29 16:11 mapr
drwx------. 2 okaya mapr 79 Jul 26 15:45 okaya
Retrieving data ...