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.

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

Solved Go to solution

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
Highlighted

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

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
Highlighted

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

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

Highlighted

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

Explorer

Thank you that was well answered.

Don't have an account?
Coming from Hortonworks? Activate your account here