Our Community is getting an upgrade! To get everything ready for the relaunch, we’ll be placing the site in read-only mode starting September 21st.
We really appreciate your understanding while we get things set up behind the scenes. Catch up on all the exciting details about the move here.
Need help or have questions? Drop us a line at [email protected]
Created on 11-16-2016 03:32 PM - edited 09-16-2022 03:48 AM
I remember there was this property(mentioned below) in hive-site.xml for metastore password.
<property> <name>javax.jdo.option.ConnectionPassword</name> <value>as_if_I'm_going_to_paste_my_password_here</value> </property>
I cannot see it in my hive-site.xml (HDP-2.5.0.0), I think we have some credential provider configured for this but I'm unable to find that property in hive-site.xml as well.
<!-- Configure credential store for passwords-->
<property>
<name>hadoop.security.credential.provider.path</name>
<value>jceks://file/usr/lib/hive/conf/hive.jceks</value>
</property>Any idea where it stores the password?
Created 11-16-2016 04:03 PM
I got it.
/etc/hive/conf/conf.server
I was searching all the time in /etc/hive/conf/hive-site.xml and was assuming that /etc/hive/conf.server does not exists.
Created 11-16-2016 04:03 PM
I got it.
/etc/hive/conf/conf.server
I was searching all the time in /etc/hive/conf/hive-site.xml and was assuming that /etc/hive/conf.server does not exists.
Created 05-09-2017 09:16 PM
You can also use following command to retrieve the password - sudo java -cp "/usr/hdp/current/ranger-tagsync/lib/*" org.apache.ranger.credentialapi.buildks get javax.jdo.option.connectionpassword -provider jceks://file/etc/hive/conf/conf.server/hive-site.jceks
Created 04-15-2018 04:34 PM
may i know what action have you taken to get or change the passwd of hive metastore??