Patai Sangbutsarakum 2013-10-16, 21:24
Question is on cdh3u4, the cluster was setup before I owned this cluster,
and somehow the namenode/jobtracker/datanode/tasktracker every server
process is run by a user named foo, and all job are launch and run by foo
user include HDFS directories/files structure owenership, basically foo is
Today i start to think of trying to correct this by having
has namenode + datanode run by hdfs user
has jobtracker + tasktracker run by mapred user
So far, i have a very short list that need to be changed, and i will try
out in the test cluster.
create use hdfs, mapred every where
ownership of dfs.name.dir, dfs.data.dir, fs.checkpoint.dir will change to
ownership of mapred.local.dir, will change to mapred
restart the cluster with hdfs for HDFS side, and mapred for MapRed side.
i am 100% sure that i missed certain things that have to take care, I will
really appreciate all the input.
However, the original question i would love to ask is this even feasible or
make sense trying to change this.