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

(Updated Jan. 12, 2016, 1:09 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: AMBARI-14619
    https://issues.apache.org/jira/browse/AMBARI-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

Reply via email to