You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ambari.apache.org by "Hudson (JIRA)" <ji...@apache.org> on 2016/02/24 20:53:19 UTC

[jira] [Commented] (AMBARI-14619) Hawq master install fails if hawq user password is numeric

    [ https://issues.apache.org/jira/browse/AMBARI-14619?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15163615#comment-15163615 ] 

Hudson commented on AMBARI-14619:
---------------------------------

ABORTED: Integrated in Ambari-trunk-Commit #4382 (See [https://builds.apache.org/job/Ambari-trunk-Commit/4382/])
AMBARI-14619. Hawq master install fails if hawq user password is (ncole: [http://git-wip-us.apache.org/repos/asf?p=ambari.git&a=commit&h=9215d63333d7f38bd649dbce75621278f7a9c73d])
* ambari-server/src/main/resources/common-services/HAWQ/2.0.0/package/scripts/params.py


> Hawq master install fails if hawq user password is numeric
> ----------------------------------------------------------
>
>                 Key: AMBARI-14619
>                 URL: https://issues.apache.org/jira/browse/AMBARI-14619
>             Project: Ambari
>          Issue Type: Bug
>          Components: ambari-server
>    Affects Versions: trunk, 2.2.0
>            Reporter: Lav Jain
>            Assignee: Lav Jain
>            Priority: Minor
>             Fix For: 2.3.0, 2.2.1
>
>         Attachments: AMBARI-14619.patch
>
>
> STR:
> Install Ambari from trunk
> Select Hawq to be installed.
> Provide "12345" as value for "HAWQ system user password"
> Deployment fails with:
> {code}
> Traceback (most recent call last):
>   File "/var/lib/ambari-agent/cache/common-services/HAWQ/2.0.0/package/scripts/hawqmaster.py", line 58, in <module>
>     HawqMaster().execute()
>   File "/usr/lib/python2.6/site-packages/resource_management/libraries/script/script.py", line 224, in execute
>     method(env)
>   File "/var/lib/ambari-agent/cache/common-services/HAWQ/2.0.0/package/scripts/hawqmaster.py", line 34, in install
>     self.configure(env)
>   File "/var/lib/ambari-agent/cache/common-services/HAWQ/2.0.0/package/scripts/hawqmaster.py", line 40, in configure
>     master_helper.configure_master()
>   File "/var/lib/ambari-agent/cache/common-services/HAWQ/2.0.0/package/scripts/master_helper.py", line 68, in configure_master
>     common.setup_user()
>   File "/var/lib/ambari-agent/cache/common-services/HAWQ/2.0.0/package/scripts/common.py", line 51, in setup_user
>     __create_hawq_user()
>   File "/var/lib/ambari-agent/cache/common-services/HAWQ/2.0.0/package/scripts/common.py", line 64, in __create_hawq_user
>     password=crypt.crypt(params.hawq_password, "salt"),
>   File "/usr/lib64/python2.6/crypt.py", line 55, in crypt
>     return _crypt.crypt(word, salt)
> TypeError: crypt() argument 1 must be string, not int
> {code}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)