ambari-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Alejandro Fernandez" <afernan...@hortonworks.com>
Subject Re: Review Request 32065: RU - AMS service check may fail, need to exclude AMS from Service Check Group in Upgrade Pack
Date Sat, 14 Mar 2015 17:37:02 GMT

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

(Updated March 14, 2015, 5:37 p.m.)


Review request for Ambari, Jonathan Hurley, Nate Cole, and Sid Wagle.


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


Repository: ambari


Description
-------

During a rolling upgrade, the AMS service check is failing.
Since AMS is not part of the upgrade pack, Ambari RU should be robust enough to proceed without
it in case it does fail.


Diffs
-----

  ambari-server/src/main/java/org/apache/ambari/server/state/stack/upgrade/ServiceCheckGrouping.java
4eedde2 
  ambari-server/src/main/resources/stacks/HDP/2.2/upgrades/upgrade-2.2.xml b3b351b 
  ambari-server/src/test/java/org/apache/ambari/server/stack/StackManagerTest.java 95b7581

  ambari-server/src/test/java/org/apache/ambari/server/state/UpgradeHelperTest.java 96c01d5

  ambari-server/src/test/resources/stacks/HDP/2.1.1/services/AMBARI_METRICS/metainfo.xml PRE-CREATION

  ambari-server/src/test/resources/stacks/HDP/2.2.0/upgrades/upgrade_test_checks.xml PRE-CREATION


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


Testing (updated)
-------

Verified that during a rolling upgrade AMS was not included in the service checks.

Unit tests passed.

[INFO] ------------------------------------------------------------------------
[INFO] Reactor Summary:
[INFO]
[INFO] Ambari Main ....................................... SUCCESS [5.137s]
[INFO] Apache Ambari Project POM ......................... SUCCESS [0.029s]
[INFO] Ambari Web ........................................ SUCCESS [37.414s]
[INFO] Ambari Views ...................................... SUCCESS [2.081s]
[INFO] Ambari Admin View ................................. SUCCESS [9.238s]
[INFO] Ambari Metrics Common ............................. SUCCESS [1.244s]
[INFO] Ambari Server ..................................... SUCCESS [31:47.183s]
[INFO] Ambari Agent ...................................... SKIPPED
[INFO] Ambari Client ..................................... SKIPPED
[INFO] Ambari Python Client .............................. SKIPPED
[INFO] Ambari Groovy Client .............................. SKIPPED
[INFO] Ambari Shell ...................................... SKIPPED
[INFO] Ambari Python Shell ............................... SKIPPED
[INFO] Ambari Groovy Shell ............................... SKIPPED
[INFO] ------------------------------------------------------------------------
[INFO] BUILD SUCCESS
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 32:42.923s
[INFO] Finished at: Fri Mar 13 18:44:10 PDT 2015
[INFO] Final Memory: 51M/444M
[INFO] ------------------------------------------------------------------------


Thanks,

Alejandro Fernandez


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