> On July 1, 2015, 2:19 p.m., Alejandro Fernandez wrote: > > ambari-server/src/main/resources/common-services/OOZIE/4.0.0.2.0/package/scripts/oozie_server_upgrade.py, > > line 198 > > <https://reviews.apache.org/r/36076/diff/1/?file=996370#file996370line198> > > > > Can this be case insensitive?
I can make it case insensitive. > On July 1, 2015, 2:19 p.m., Alejandro Fernandez wrote: > > ambari-server/src/main/resources/common-services/OOZIE/4.0.0.2.0/package/scripts/oozie_server_upgrade.py, > > line 227 > > <https://reviews.apache.org/r/36076/diff/1/?file=996370#file996370line227> > > > > Can this check that it contains at least 2 elements? Sure, I can add that. - Jonathan ----------------------------------------------------------- This is an automatically generated e-mail. To reply, visit: https://reviews.apache.org/r/36076/#review90086 ----------------------------------------------------------- On July 1, 2015, 1:04 p.m., Jonathan Hurley wrote: > > ----------------------------------------------------------- > This is an automatically generated e-mail. To reply, visit: > https://reviews.apache.org/r/36076/ > ----------------------------------------------------------- > > (Updated July 1, 2015, 1:04 p.m.) > > > Review request for Ambari, Alejandro Fernandez, Nate Cole, Sumit Mohanty, and > Srimanth Gunturi. > > > Bugs: AMBARI-12228 > https://issues.apache.org/jira/browse/AMBARI-12228 > > > Repository: ambari > > > Description > ------- > > Here is an example of the new orchestration for an upgrade from 2.2 to 2.3 > > - Before Upgrade Begins > -# Execute a custom script to stop all oozie servers, one at a time > -# Execute the database upgrade using the 2.3 bits > -# Execute the sharelib creation and upload using the 2.3 bits > > - For each Oozie server, which is currently down > -# backup the oozie configurations > -# conf-select and hdp-select > -# restore configurations > -# Prepare /usr/hdp/current/oozie/libext-customer and gets ready to upgrade > the WAR > -# {oozie_setup_sh} prepare-war {oozie_secure} -d {oozie_libext_customer_dir} > -# Start the Oozie server > > On a downgrade, we will perform a similar series of steps, except a few > differences: > - No database upgrade will be performed > - The bits used to generate the sharelib are going to be the downgrade > stacks, ie 2.2 > > > Diffs > ----- > > > ambari-server/src/main/java/org/apache/ambari/server/state/stack/upgrade/ExecuteTask.java > 59af413 > > ambari-server/src/main/java/org/apache/ambari/server/state/stack/upgrade/TaskWrapperBuilder.java > 719078f > > ambari-server/src/main/resources/common-services/OOZIE/4.0.0.2.0/package/scripts/oozie_server.py > 611046e > > ambari-server/src/main/resources/common-services/OOZIE/4.0.0.2.0/package/scripts/oozie_server_upgrade.py > 9d348e1 > > ambari-server/src/main/resources/common-services/STORM/0.9.1.2.1/package/scripts/storm_upgrade.py > 4b455c0 > ambari-server/src/main/resources/stacks/HDP/2.2/upgrades/upgrade-2.2.xml > 3a5033d > ambari-server/src/main/resources/stacks/HDP/2.2/upgrades/upgrade-2.3.xml > d4d4266 > ambari-server/src/main/resources/stacks/HDP/2.3/upgrades/upgrade-2.3.xml > ad785e9 > ambari-server/src/test/python/stacks/2.0.6/OOZIE/test_oozie_server.py > b92f6fa > ambari-server/src/test/python/stacks/2.2/configs/oozie-upgrade.json f0798c8 > > Diff: https://reviews.apache.org/r/36076/diff/ > > > Testing > ------- > > mvn clean test > > Oozie upgrade from HDP 2.2 to 2.3 > > > Thanks, > > Jonathan Hurley > >
