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 34648: RU - Knox upgrade fails because topologies folder is not created, and admin.xml not copied
Date Wed, 27 May 2015 00:57:26 GMT

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

(Updated May 27, 2015, 12:57 a.m.)


Review request for Ambari, Dmitro Lisnichenko, Jonathan Hurley, Nate Cole, and Tom Beerbower.


Changes
-------

Changed to copy entire folder as opposed to just admin.xml file


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


Repository: ambari


Description
-------

Knox Upgrade failed because the /usr/hdp/current/knox-server/conf/topologies directory doesn't
exist and needs to be created.
Further, the admin.xml file exposes the Knox API, and the file needs to be copied from the
older config folder to the new one after calling conf-select.


Diffs (updated)
-----

  ambari-agent/src/main/python/ambari_agent/Controller.py 30aedd0 
  ambari-server/src/main/resources/common-services/KNOX/0.5.0.2.2/package/scripts/knox.py
6caec01 
  ambari-server/src/main/resources/common-services/KNOX/0.5.0.2.2/package/scripts/knox_gateway.py
fd7b451 
  ambari-server/src/main/resources/common-services/KNOX/0.5.0.2.2/package/scripts/params_linux.py
c4a5ad6 
  ambari-server/src/main/resources/common-services/KNOX/0.5.0.2.2/package/scripts/upgrade.py
9976cb2 
  ambari-server/src/test/python/stacks/2.2/KNOX/test_knox_gateway.py bab4ed1 
  ambari-server/src/test/python/stacks/2.2/configs/knox_upgrade.json PRE-CREATION 

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


Testing
-------

----------------------------------------------------------------------
Total run:742
Total errors:0
Total failures:0
OK

Verified that multiple Knox gateways passed during RU from HDP 2.3.0.0 to 2.3.0.0+ (an older
version).


Thanks,

Alejandro Fernandez


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