- Subscribe to RSS Feed
- Mark Question as New
- Mark Question as Read
- Float this Question for Current User
- Bookmark
- Subscribe
- Mute
- Printer Friendly Page
how to check hive meta store db's password?
- Labels:
-
Apache Hive
-
Cloudera Manager
Created on
‎05-08-2020
10:36 PM
- last edited on
‎05-10-2020
11:16 PM
by
VidyaSargur
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I am using CM 5.14.2, and from hive's configuration page, i can see the value for javax.jdo.option.ConnectionUserName, which is used to access the underneath metastore db like mysql, but i can't see the value of javax.jdo.option.ConnectionPassword (which is display as **** in the page).
i have forgotten the password used to access hive metastore db. Is there any way to find it back?
Created ‎05-09-2020 09:27 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
You can use the CM API to fetch the service configurations by executing below command from terminal
# curl -u admin_uname:admin_pass "http://cm_server_host:7180/api/v19/cm/deployment"
The password should be present under the name :
hive_metastore_database_password
Refer:
Hope this helps,
Paras
Was your question answered? Make sure to mark the answer as the accepted solution.
If you find a reply useful, say thanks by clicking on the thumbs up button.
Created ‎05-09-2020 05:24 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
@michaelli Not from the UI. You will need to go back to the actual metastore server and see the command(s) to create the hive user. If it’s a MySQL metastore it’s easy to go to MySQL prompt and arrow up to see previously executed commands with the hive user and password.
Created ‎05-09-2020 09:27 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
You can use the CM API to fetch the service configurations by executing below command from terminal
# curl -u admin_uname:admin_pass "http://cm_server_host:7180/api/v19/cm/deployment"
The password should be present under the name :
hive_metastore_database_password
Refer:
Hope this helps,
Paras
Was your question answered? Make sure to mark the answer as the accepted solution.
If you find a reply useful, say thanks by clicking on the thumbs up button.
