-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/32968/
-----------------------------------------------------------
Review request for Ambari and Vitalyi Brodetskyi.
Bugs: AMBARI-10397
https://issues.apache.org/jira/browse/AMBARI-10397
Repository: ambari
Description
-------
Traceback (most recent call last):
File
"/var/lib/ambari-agent/cache/common-services/RANGER/0.4.0/package/scripts/ranger_admin.py",
line 74, in <module>
RangerAdmin().execute()
File
"/usr/lib/python2.6/site-packages/resource_management/libraries/script/script.py",
line 214, in execute
method(env)
File
"/var/lib/ambari-agent/cache/common-services/RANGER/0.4.0/package/scripts/ranger_admin.py",
line 37, in install
self.configure(env)
File
"/var/lib/ambari-agent/cache/common-services/RANGER/0.4.0/package/scripts/ranger_admin.py",
line 70, in configure
setup_ranger()
File
"/var/lib/ambari-agent/cache/common-services/RANGER/0.4.0/package/scripts/setup_ranger.py",
line 29, in setup_ranger
if check_db_connnection():
File
"/var/lib/ambari-agent/cache/common-services/RANGER/0.4.0/package/scripts/setup_ranger.py",
line 236, in check_db_connnection
cmd_str = "\"" + sql_command_invoker + "\"" + " -u " + db_root_user + "
--password=" + db_root_password + " -h " + db_host + " -s -e \"select
version();\""
TypeError: coercing to Unicode: need string or buffer, int found
Diffs
-----
ambari-server/src/main/resources/common-services/RANGER/0.4.0/package/scripts/params.py
d67211e
Diff: https://reviews.apache.org/r/32968/diff/
Testing
-------
mvn clean test
Thanks,
Andrew Onischuk