----------------------------------------------------------- This is an automatically generated e-mail. To reply, visit: https://reviews.apache.org/r/43277/#review118113 -----------------------------------------------------------
ambari-server/src/main/resources/common-services/OOZIE/4.0.0.2.0/package/scripts/oozie.py (line 244) <https://reviews.apache.org/r/43277/#comment179347> Notice that we now generate the marker file only if the prepare-war command was successful. Before, there would be conditions in which the marker file would be generated but the command was never ran. ambari-server/src/main/resources/common-services/OOZIE/4.0.0.2.0/package/scripts/oozie.py <https://reviews.apache.org/r/43277/#comment179348> Notice the not_if condition but a couple of lines below would still generate prepare_war_cmd_file marker file. - Alejandro Fernandez On Feb. 6, 2016, 12:34 a.m., Alejandro Fernandez wrote: > > ----------------------------------------------------------- > This is an automatically generated e-mail. To reply, visit: > https://reviews.apache.org/r/43277/ > ----------------------------------------------------------- > > (Updated Feb. 6, 2016, 12:34 a.m.) > > > Review request for Ambari, Jonathan Hurley, Jayush Luniya, Nate Cole, and Sid > Wagle. > > > Bugs: AMBARI-14950 > https://issues.apache.org/jira/browse/AMBARI-14950 > > > Repository: ambari > > > Description > ------- > > STR: > > 1. Setup HDP 2.3.4.0 cluster with Ambari 2.2.1 (secure, multiple oozie > servers) > 2, Start Express Upgrade to HDP-2.4.0.0-149 and reach till Finalize step > 3. Perform Downgrade back to original version and let it complete > 4. Run service check for Oozie, which fails because > /usr/hdp/current/oozie-server/oozie-server/webapps/oozie is missing > > There's a bug that the /usr/hdp/current/oozie-server/.prepare_war_cmd marker > file is still generated even if the prepare war command was not ran! > > > Diffs > ----- > > > ambari-server/src/main/resources/common-services/OOZIE/4.0.0.2.0/package/scripts/oozie.py > 24a35ad > > ambari-server/src/main/resources/common-services/OOZIE/4.0.0.2.0/package/scripts/oozie_server.py > 35975df > > ambari-server/src/main/resources/common-services/OOZIE/4.0.0.2.0/package/scripts/oozie_server_upgrade.py > 326e76c > ambari-server/src/test/python/stacks/2.0.6/OOZIE/test_oozie_server.py > 2183425 > > Diff: https://reviews.apache.org/r/43277/diff/ > > > Testing > ------- > > Verified on live cluster during EU + downgrade, and ran python unit tests. > > Total run:886 > Total errors:0 > Total failures:0 > OK > > > Thanks, > > Alejandro Fernandez > >
