-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/33312/
-----------------------------------------------------------
Review request for Ambari and Alejandro Fernandez.
Bugs: AMBARI-10566
https://issues.apache.org/jira/browse/AMBARI-10566
Repository: ambari
Description
-------
patch for 2.0.maint
Ambari upgrade from 1.7.0 to 2.0.0 had problems on starting/restarting
zookeeper server because /usr/hdp/current/zookeeper-server symlink was not
found. The customer remedied the issue by calling "hdp-select set
zookeeper-server 2.2.3.0-###" on all of the hosts, which created the symlink.
In Ambari 1.7.0, ZK server was started using the libs from ZK client, so as
part of the Ambari Upgrade, we need to first call "hdp-select set
zookeeper-server
{version}
"
It's possible that the either exactly one of start/restart command will handle
this. Need to verify what the behavior is.
Diffs
-----
ambari-server/src/main/java/org/apache/ambari/server/controller/AmbariCustomCommandExecutionHelper.java
5a15f64
ambari-server/src/main/resources/common-services/ZOOKEEPER/3.4.5.2.0/package/scripts/params.py
fa82f49
ambari-server/src/main/resources/common-services/ZOOKEEPER/3.4.5.2.0/package/scripts/zookeeper.py
aa1c891
ambari-server/src/main/resources/common-services/ZOOKEEPER/3.4.5.2.0/package/scripts/zookeeper_server.py
72a8f0b
ambari-server/src/test/python/stacks/2.0.6/ZOOKEEPER/test_zookeeper_server.py
4b9721a
Diff: https://reviews.apache.org/r/33312/diff/
Testing
-------
[INFO] ------------------------------------------------------------------------
[INFO] Reactor Summary:
[INFO]
[INFO] Ambari Views ...................................... SUCCESS [1.729s]
[INFO] Ambari Metrics Common ............................. SUCCESS [0.805s]
[INFO] Ambari Server ..................................... SUCCESS [33.368s]
[INFO] ------------------------------------------------------------------------
[INFO] BUILD SUCCESS
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 36.563s
[INFO] Finished at: Fri Apr 17 17:42:34 EEST 2015
[INFO] Final Memory: 48M/427M
[INFO] ------------------------------------------------------------------------
Thanks,
Dmitro Lisnichenko