Hi all
I have been using hadoop from the original tar ball till now. For the first
time
I am trying CDH3 Beta 3 and I am running into permission issues.
Here are the relevant bits from the config file.
- core-site.xml
<property>
<name>hadoop.tmp.dir</name>
<value>/dsk/disk0/hadoop/tmp</value>
</property>
- hdfs-site.xml
<property>
<name>dfs.data.dir</name>
<value>/dsk/disk0/hadoop/dfs/data</value>
</property>
<property>
<name>dfs.name.dir</name>
<value>/dsk/disk0/hadoop/dfs/name</value>
</property>
-mapred-site.xml
<property>
<name>mapred.local.dir</name>
<value>/dsk/disk0/hadoop/local</value>
</property>
I also have in addition to the users hdfs and mapred , I have the following
users. hadoop, raj and root ( all of them belong the group hadoop)
Here are the permissions of the various directories
drwxrwxrwt 2 hadoop hadoop 4096 Oct 22 15:03 /dsk/disk0/hadoop/tmp
drwxr-xr-x 2 hdfs hadoop 4096 Oct 22 14:02 /dsk/disk0/hadoop/dfs/data
drwxr-xr-x 2 hdfs hadoop 4096 Oct 22 14:02 /dsk/disk0/hadoop/dfs/name
drwxr-xr-x 2 mapred hadoop 4096 Oct 22 14:02 /dsk/disk0/hadoop/local
This is a 8 node cluster and all the users, directories , groups are exactly
the
same on all the nodes.
With these permissions nothing works. I have tried different things; making the
directories group writable stops the datanodes from starting; tinkering with
the
ownership creates different problems. sometimes I can create directories, but
not files. I am completely stuck.
Can someone help with what persmissions each of the directories should have?
Raj