Re: how to add more than one user to hadoop with DFS permissions?

2012-03-10 Thread Austin Chungath
Thanks Harsh :) On Sat, Mar 10, 2012 at 10:12 PM, Harsh J wrote: > Austin, > > 1. Enable HDFS Permissions. In hdfs-site.xml, set "dfs.permissions" as > "true". > > 2. To commission any new user, as HDFS admin (the user who runs the > NameNode process), run: > hadoop fs -mkdir /user/ > hadoop fs

Re: how to add more than one user to hadoop with DFS permissions?

2012-03-10 Thread Harsh J
Austin, 1. Enable HDFS Permissions. In hdfs-site.xml, set "dfs.permissions" as "true". 2. To commission any new user, as HDFS admin (the user who runs the NameNode process), run: hadoop fs -mkdir /user/ hadoop fs -chown : /user/ 3. For default file/dir permissions to be 700, tweak the dfs.umaskm

how to add more than one user to hadoop with DFS permissions?

2012-03-10 Thread Austin Chungath
I have a 2 node cluster running hadoop 0.20.205. There is only one user , username: hadoop of group: hadoop. What is the easiest way to add one more user say hadoop1 with DFS permissions set as true? I did the following to create a user in the master node. sudo adduser --ingroup hadoop hadoop1 My