Support Questions
Find answers, ask questions, and share your expertise

Starting Hadoop services, when ambari run by a non root user


I have started ambari server and agents as non root user. I've configured /etc/sudoers to give necessary permissions. But due to LDAP setup I had to create the service users like hdfs, hive etc manually as a sudo user again.(sudo useradd -G hadoop hdfs). I'm unable to start hadoop services. When I do su hdfs from the user I created the user, it asks me for a password. Is this causinf=g a trouble to start hdfs ? Or if I have to start hdfs manually as hdfs user, is it ok if su hdfs from root and do that(su hdfs from root doesnt ask me for a password)?