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
12-30-2019
04:34 AM
- last edited on
04-21-2026
04:34 AM
by
GrazittiAPI
Hi,
I am adding ranger in Cloudera runtime(CDP) but i am getting below error while adding ranger service
'db_password' not found in /var/run/cloudera-scm-agent/process/1546333400-ranger-RANGER_ADMIN-SetupRangerCommand/install.properties
I have created ranger db, ranger username, mysql password password but still i am getting this error
Created 01-09-2020 01:35 AM
Hi Harsh,
I was able to add ranger in CDP after going through cloudera documentation. I added ranger using Postgres DB, earlier i was trying it using Mysql DB.
So issues is resolved for me.
Thanks
Created on 01-09-2020 01:29 AM - edited 01-09-2020 01:41 AM
Can you paste the contents of the all files in the following directory from the Ranger host please?
/var/run/cloudera-scm-agent/process/1546333400-ranger-RANGER_ADMIN-SetupRangerCommand/logs/*
The missing property (db_password) is written by a control script that should log some information to these files and it'll help us determine a cause if we had their contents.
I'm assuming that in your CM - Ranger - Configuration page the value for field 'ranger.jpa.jdbc.password' is set to a valid value.
Also, do you perhaps have an @ (at) character in your password? If yes, could you try a different password without that character? You may be hitting a bug (OPSAPS-53645 is its internal ID, fixed in future releases) that did not support that password character in the original CDP 7.0 release.
Created 01-09-2020 01:35 AM
Hi Harsh,
I was able to add ranger in CDP after going through cloudera documentation. I added ranger using Postgres DB, earlier i was trying it using Mysql DB.
So issues is resolved for me.
Thanks