Support Questions
Find answers, ask questions, and share your expertise
Announcements
Alert: Welcome to the Unified Cloudera Community. Former HCC members be sure to read and learn how to activate your account here.

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

Highlighted

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

New Contributor

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)?