Created on 12-30-2019 04:34 AM - last edited on 12-30-2019 07:09 AM by VidyaSargur
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