You are viewing a plain text version of this content. The canonical link for it is here.
Posted to reviews@ambari.apache.org by Matt <mi...@gmail.com> on 2016/04/19 03:19:22 UTC

Review Request 46359: HAWQ Immediate Stop cluster fails with key error

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

Review request for Ambari.


Bugs: AMBARI-15960
    https://issues.apache.org/jira/browse/AMBARI-15960


Repository: ambari


Description
-------

Error log from running the wizard:


stderr: 
Traceback (most recent call last):
  File "/var/lib/ambari-agent/cache/common-services/HAWQ/2.0.0/package/scripts/hawqmaster.py", line 98, in <module>
    HawqMaster().execute()
  File "/usr/lib/python2.6/site-packages/resource_management/libraries/script/script.py", line 219, in execute
    method(env)
  File "/var/lib/ambari-agent/cache/common-services/HAWQ/2.0.0/package/scripts/hawqmaster.py", line 69, in immediate_stop_hawq_service
    common.stop_component(hawq_constants.CLUSTER, hawq_constants.IMMEDIATE)
  File "/var/lib/ambari-agent/cache/common-services/HAWQ/2.0.0/package/scripts/common.py", line 309, in stop_component
    port_property_name = hawq_constants.COMPONENT_ATTRIBUTES_MAP[component_name]['port_property']
KeyError: 'cluster'
 stdout:
None


Diffs
-----

  ambari-server/src/main/resources/common-services/HAWQ/2.0.0/package/scripts/hawq_constants.py 4ce0c94 

Diff: https://reviews.apache.org/r/46359/diff/


Testing
-------

Manually Tested. Unit Tests passed.


Thanks,

Matt