ambari-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jonathan Hurley" <jhur...@hortonworks.com>
Subject Review Request 31322: Oozie Service Check Fails During Upgrade Due To Incorrect Example Directory
Date Mon, 23 Feb 2015 21:20:41 GMT

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

Review request for Ambari, Alejandro Fernandez and Tom Beerbower.


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


Repository: ambari


Description
-------

During upgrade, Oozie service check can fail because oozieSmoke2.sh may not be able to locate
the example JAR. The logic in oozieSmoke2.sh tries to use rpm to list all of the files of
the oozie package and strip out the directory where the example JAR lives. However, this is
problematic on HDP 2.2.2 since the package names are complex (and since there could be multiple
packages installed with the same matching wildcard).

Therefore, we should use the oozie home directory calculated in params.py to get the directory
where the examples JAR lives.


Diffs
-----

  ambari-server/src/main/resources/common-services/OOZIE/4.0.0.2.0/package/files/oozieSmoke2.sh
bdd4e26 
  ambari-server/src/main/resources/common-services/OOZIE/4.0.0.2.0/package/scripts/oozie.py
7d8322c 
  ambari-server/src/main/resources/common-services/OOZIE/4.0.0.2.0/package/scripts/params.py
2dc78be 
  ambari-server/src/main/resources/common-services/OOZIE/4.0.0.2.0/package/scripts/service_check.py
cac6ede 
  ambari-server/src/test/python/stacks/2.0.6/OOZIE/test_oozie_server.py b988e4e 
  ambari-server/src/test/python/stacks/2.0.6/OOZIE/test_service_check.py 59ab5c6 

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


Testing
-------

Deployed a small 3-host cluster with Oozie and performed an upgrade from 2.2.0.0 to 2.2.2.0.
Updated tests.

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


Thanks,

Jonathan Hurley


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