ambari-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jonathan Hurley" <jhur...@hortonworks.com>
Subject Re: Review Request 23174: Nagios failed to start on stack upgraded cluster
Date Tue, 01 Jul 2014 03:00:28 GMT

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

(Updated June 30, 2014, 11 p.m.)


Review request for Ambari, Nate Cole and Sumit Mohanty.


Changes
-------

Implementing suggested defaults to ensure that on a 2.0 -> 2.1 upgrade, these properties
will not cause Nagios to fail on startup.


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


Repository: ambari


Description
-------

Upgrade logic is wrong; the hdfs properties that are required for a 2.1 stack should not be
a part of the Ambari 1.6.0 DML schema upgrade. Instead, they should be a part of the stack
upgrade.


Diffs (updated)
-----

  ambari-server/src/main/java/org/apache/ambari/server/upgrade/UpgradeCatalog160.java c359afa

  ambari-server/src/main/python/UpgradeHelper_HDP2.py 0c43850 
  ambari-server/src/main/resources/stacks/HDP/2.0.6/services/NAGIOS/package/scripts/params.py
cb3d5c1 
  ambari-server/src/test/java/org/apache/ambari/server/upgrade/UpgradeCatalog160Test.java
59c73f2 

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


Testing
-------

# verified hdfs-site.xml was updated with required properties and that Nagios started in my
upgrade cluster
$ python UpgradeHelper_HDP2.py --hostname $HOSTNAME --user $USERNAME --password $PASSWORD
--clustername $CLUSTERNAME update-configs

[INFO] BUILD SUCCESS
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 13:19.307s
[INFO] Finished at: Mon Jun 30 15:43:10 EDT 2014
[INFO] Final Memory: 21M/123M
[INFO] ------------------------------------------------------------------------


Thanks,

Jonathan Hurley


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