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

Change HDP service users passwords (hdfs,yarn,mapred,hive,etc.)

Explorer

Do I need to set the password on some configuration files when I change the service user account passwords (hdfs,yarn,mapred,hbase,oozie,hive etc.)?

1 ACCEPTED SOLUTION

Accepted Solutions

Expert Contributor

Hi @John Ross Tasipit

Services are started by ambari-sudo.sh, and if you see /etc/shadow these users don't have any password.

So you shouldn't have to set the password anywhere.

But if you enable security in the cluster and you want to have these passwords for kinit, you will have to manually create all services keytabs instead of the keytab generated by ambari which have random keys.

View solution in original post

2 REPLIES 2

Expert Contributor

Hi @John Ross Tasipit

Services are started by ambari-sudo.sh, and if you see /etc/shadow these users don't have any password.

So you shouldn't have to set the password anywhere.

But if you enable security in the cluster and you want to have these passwords for kinit, you will have to manually create all services keytabs instead of the keytab generated by ambari which have random keys.

View solution in original post

Explorer

Thank you that was well answered.