09-01-2015 04:19 PM - last edited on 09-02-2015 05:26 AM by cjervis
I am setting up a multi-node hadoop cluster. I am using cloudera CDH 5.4.4, JDK 1.8 and OS is Red Hat Linux 6.5 for this.
I have configured init to start Hadoop System Services (like namenode, yarn, hbase etc) at startup (By using chkconfig command). However I see that these services are started with different users eg namenode, secondary namenode services are started by hdfs user. Hbase service is started by hbase user. Yarn service is started by yarn user, so on and so forth.
I would like to know is it a good practice to start all the services using a single user or should I let them start using different users.
Which approach is better and why? If single user is better, how can I start all the services using single user?
Thanks for the help in advance.
09-27-2015 08:04 AM