Repository: ambari Updated Branches: refs/heads/branch-2.2 6aad2c417 -> ae44349ab
AMBARI-14619. Hawq master install fails if hawq user password is numeric(Lav Jain via odiachenko). Project: http://git-wip-us.apache.org/repos/asf/ambari/repo Commit: http://git-wip-us.apache.org/repos/asf/ambari/commit/ae44349a Tree: http://git-wip-us.apache.org/repos/asf/ambari/tree/ae44349a Diff: http://git-wip-us.apache.org/repos/asf/ambari/diff/ae44349a Branch: refs/heads/branch-2.2 Commit: ae44349ab9dd17d6fe13f8cc1022c8d41c297258 Parents: 6aad2c4 Author: Oleksandr Diachenko <odiache...@pivotal.io> Authored: Tue Jan 12 15:00:05 2016 -0800 Committer: Oleksandr Diachenko <odiache...@pivotal.io> Committed: Tue Jan 12 15:00:18 2016 -0800 ---------------------------------------------------------------------- .../common-services/HAWQ/2.0.0/package/scripts/params.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/ambari/blob/ae44349a/ambari-server/src/main/resources/common-services/HAWQ/2.0.0/package/scripts/params.py ---------------------------------------------------------------------- diff --git a/ambari-server/src/main/resources/common-services/HAWQ/2.0.0/package/scripts/params.py b/ambari-server/src/main/resources/common-services/HAWQ/2.0.0/package/scripts/params.py index 4dc0874..e19de9d 100644 --- a/ambari-server/src/main/resources/common-services/HAWQ/2.0.0/package/scripts/params.py +++ b/ambari-server/src/main/resources/common-services/HAWQ/2.0.0/package/scripts/params.py @@ -48,7 +48,9 @@ hostname = config['hostname'] # Users and Groups hdfs_superuser = config['configurations']['hadoop-env']['hdfs_user'] user_group = config['configurations']['cluster-env']['user_group'] -hawq_password = config['configurations']['hawq-env']['hawq_password'] + +# Convert hawq_password to unicode for crypt() function in case user enters a numeric password +hawq_password = unicode(config['configurations']['hawq-env']['hawq_password']) # HAWQ Hostnames