ambari-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "bhuvnesh chaudhary" <bchaudh...@pivotal.io>
Subject Re: Review Request 42170: Hawq master install fails if hawq user password is numeric
Date Tue, 12 Jan 2016 00:46:45 GMT

-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/42170/#review113884
-----------------------------------------------------------

Ship it!


Ship It!

- bhuvnesh chaudhary


On Jan. 12, 2016, 12:44 a.m., Lav Jain wrote:
> 
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> https://reviews.apache.org/r/42170/
> -----------------------------------------------------------
> 
> (Updated Jan. 12, 2016, 12:44 a.m.)
> 
> 
> Review request for Ambari, Alexander Denissov, Alejandro Fernandez, bhuvnesh chaudhary,
Jaimin Jetly, jun aoki, Jayush Luniya, Matt, Newton Alex, and Oleksandr Diachenko.
> 
> 
> Bugs: AMABRI-14619
>     https://issues.apache.org/jira/browse/AMABRI-14619
> 
> 
> Repository: ambari
> 
> 
> Description
> -------
> 
> STR:
> Install Ambari from trunk
> Select Hawq to be installed.
> Provide "12345" as value for "HAWQ system user password"
> Deployment fails with:
> 
> ```
> 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
> ```
> 
> 
> Diffs
> -----
> 
>   ambari-server/src/main/resources/common-services/HAWQ/2.0.0/package/scripts/params.py
4dc0874 
> 
> Diff: https://reviews.apache.org/r/42170/diff/
> 
> 
> Testing
> -------
> 
> Manually tested
> 
> 
> Thanks,
> 
> Lav Jain
> 
>


Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message