ambari-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From aonis...@apache.org
Subject ambari git commit: AMBARI-10397. Raw number password for ranger results in failure (aonishuk)
Date Fri, 10 Apr 2015 09:25:50 GMT
Repository: ambari
Updated Branches:
  refs/heads/trunk d52dba07d -> defac75b0


AMBARI-10397. Raw number password for ranger results in failure (aonishuk)


Project: http://git-wip-us.apache.org/repos/asf/ambari/repo
Commit: http://git-wip-us.apache.org/repos/asf/ambari/commit/defac75b
Tree: http://git-wip-us.apache.org/repos/asf/ambari/tree/defac75b
Diff: http://git-wip-us.apache.org/repos/asf/ambari/diff/defac75b

Branch: refs/heads/trunk
Commit: defac75b05908b510fb35f872f0e6c7342e50653
Parents: d52dba0
Author: Andrew Onishuk <aonishuk@hortonworks.com>
Authored: Fri Apr 10 12:25:30 2015 +0300
Committer: Andrew Onishuk <aonishuk@hortonworks.com>
Committed: Fri Apr 10 12:25:30 2015 +0300

----------------------------------------------------------------------
 .../common-services/RANGER/0.4.0/package/scripts/params.py       | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/ambari/blob/defac75b/ambari-server/src/main/resources/common-services/RANGER/0.4.0/package/scripts/params.py
----------------------------------------------------------------------
diff --git a/ambari-server/src/main/resources/common-services/RANGER/0.4.0/package/scripts/params.py
b/ambari-server/src/main/resources/common-services/RANGER/0.4.0/package/scripts/params.py
index d67211e..b4cc7f3 100644
--- a/ambari-server/src/main/resources/common-services/RANGER/0.4.0/package/scripts/params.py
+++ b/ambari-server/src/main/resources/common-services/RANGER/0.4.0/package/scripts/params.py
@@ -53,11 +53,11 @@ db_flavor = default("/configurations/admin-properties/DB_FLAVOR", "MYSQL")
 sql_command_invoker = default("/configurations/admin-properties/SQL_COMMAND_INVOKER", "mysql")
 sql_connector_jar = default("/configurations/admin-properties/SQL_CONNECTOR_JAR", "/usr/share/java/mysql-connector-java.jar")
 db_root_user = default("/configurations/admin-properties/db_root_user", "root")
-db_root_password = default("/configurations/admin-properties/db_root_password", " ")
+db_root_password = unicode(default("/configurations/admin-properties/db_root_password", "
"))
 db_host = default("/configurations/admin-properties/db_host", "localhost")
 db_name = default("/configurations/admin-properties/db_name", "ranger")
 db_user = default("/configurations/admin-properties/db_user", "rangeradmin")
-db_password = default("/configurations/admin-properties/db_password", "rangeradmin")
+db_password = unicode(default("/configurations/admin-properties/db_password", "rangeradmin"))
 audit_db_name = default("/configurations/admin-properties/audit_db_name", "ranger_audit")
 audit_db_user = default("/configurations/admin-properties/audit_db_user", "rangerlogger")
 audit_db_password = default("/configurations/admin-properties/audit_db_password", "rangerlogger")


Mime
View raw message