eubnara commented on code in PR #3945:
URL: https://github.com/apache/ambari/pull/3945#discussion_r1970774065
##########
ambari-server/src/main/python/ambari_server/dbCleanup.py:
##########
@@ -106,6 +111,9 @@ def run_db_purge(options):
)
return 1
+ properties = get_ambari_properties()
+ parse_properties_file(options)
+ options.database_index =
LINUX_DBMS_KEYS_LIST.index(properties[JDBC_DATABASE_PROPERTY])
Review Comment:
Without these, it tries to execute `ensure_jdbc_driver_is_installed()` with
postgresql even though ambari-server is configured with another RDBMS.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]