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

Review request for Ambari, Andrew Onischuk, Dmitro Lisnichenko, and Nate Cole.


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


Repository: ambari


Description
-------

Steps
Deploy HDP-2.4.2 cluster with Ambari 2.2.2 (Secure, HA cluster)
Upgrade Ambari to 2.4.0.0
Perform EU to 2.5.0.0-555
Result
ZKFC restart failed with below error:
Traceback (most recent call last):
File 
"/var/lib/ambari-agent/cache/common-services/HDFS/2.1.0.2.0/package/scripts/zkfc_slave.py",
 line 200, in <module>
ZkfcSlave().execute()
File 
"/usr/lib/python2.6/site-packages/resource_management/libraries/script/script.py",
 line 257, in execute
method(env)
File 
"/usr/lib/python2.6/site-packages/resource_management/libraries/script/script.py",
 line 668, in restart
self.status(env)
File 
"/var/lib/ambari-agent/cache/common-services/HDFS/2.1.0.2.0/package/scripts/zkfc_slave.py",
 line 102, in status
ZkfcSlaveDefault.status_static(env, upgrade_type)
NameError: global name 'upgrade_type' is not defined


Diffs
-----

  
ambari-server/src/main/resources/common-services/HDFS/2.1.0.2.0/package/scripts/zkfc_slave.py
 61489bd 

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


Testing
-------

mvn clean test


Thanks,

Vitalyi Brodetskyi

Reply via email to