----------------------------------------------------------- This is an automatically generated e-mail. To reply, visit: https://reviews.apache.org/r/40098/#review106784 -----------------------------------------------------------
Ship it! Ship It! - Alejandro Fernandez On Nov. 17, 2015, 1:21 a.m., Swapan Shridhar wrote: > > ----------------------------------------------------------- > This is an automatically generated e-mail. To reply, visit: > https://reviews.apache.org/r/40098/ > ----------------------------------------------------------- > > (Updated Nov. 17, 2015, 1:21 a.m.) > > > Review request for Ambari and Alejandro Fernandez. > > > Bugs: AMBARI-13824 > https://issues.apache.org/jira/browse/AMBARI-13824 > > > Repository: ambari > > > Description > ------- > > **** Has point fix for wrongly put name OOZIE_CLIENT" instead of > "OOZIE_SERVER" across stack paths (2.2 and 2.3 including 2.1) in files : > nonrolling-upgrade-2.[2/3].xml > *********************** > > > ------------------------------------------------------------------------------------------------------------------- > Stop-and-Start Upgrade: Fix for Oozie Express upgrade issues from HDP 2.1 to > 2.3 > > > Problem : Unable to start Ozzie server while on upgrade from HDP 2.1 -> 2.3. > > Reason : As 2.3 has symlinks instead of directory structure for > "/etc/oozie/conf" and "usr/hdp/current/oozie-*/conf". > * -> "server" or "client" > > The symlinks are not properly set for Ozzie Server and client after the > upgrade. > > Resolution : Added a new class and comamnd "CONFIGURE_FUNCTION" to get the > sym links working. > > After the upgrade, the symlinks are : > > ================================================ > /etc/oozie/conf -> /etc/oozie/2.3.4.0-3204/0 > /usr/hdp/current/oozie-server/conf -> /etc/oozie/2.3.4.0-3204/0 > ================================================ > > > P.S. The changes are generic in "conf_select" for setting the sym links. > Thus, other services also should be having their > symlinks working in 2.1->2.3 upgrade path. > > > Diffs > ----- > > > ambari-common/src/main/python/resource_management/libraries/functions/conf_select.py > 620f021 > > ambari-server/src/main/java/org/apache/ambari/server/controller/internal/UpgradeResourceProvider.java > 8dff73a > > ambari-server/src/main/java/org/apache/ambari/server/metadata/ActionMetadata.java > db10125 > > ambari-server/src/main/java/org/apache/ambari/server/state/stack/upgrade/ConfigureFunction.java > PRE-CREATION > > ambari-server/src/main/java/org/apache/ambari/server/state/stack/upgrade/Grouping.java > 6122e2d > > ambari-server/src/main/java/org/apache/ambari/server/state/stack/upgrade/StageWrapper.java > 2ea3671 > > ambari-server/src/main/java/org/apache/ambari/server/state/stack/upgrade/Task.java > f443e53 > > ambari-server/src/main/resources/common-services/OOZIE/4.0.0.2.0/package/scripts/oozie_server.py > f35df93 > > ambari-server/src/main/resources/stacks/HDP/2.1/upgrades/nonrolling-upgrade-2.3.xml > efc3753 > > ambari-server/src/main/resources/stacks/HDP/2.2/upgrades/nonrolling-upgrade-2.2.xml > fa69e72 > > ambari-server/src/main/resources/stacks/HDP/2.2/upgrades/nonrolling-upgrade-2.3.xml > 6282fdc > > ambari-server/src/main/resources/stacks/HDP/2.3/upgrades/nonrolling-upgrade-2.3.xml > 798c895 > > Diff: https://reviews.apache.org/r/40098/diff/ > > > Testing > ------- > > A. Upgrade from HDP 2.1 -> 2.3 successful with all the services (Storm fails, > known issue). Oozie Servier and UI working fine. > ========================================= > > B. Installation of Ambari : Successful. > ========================= > > C. Unit test cases : run. 9 test cases fail. Failing on trunk as well. > ==================================== > 1. test_action_install_pattern_rhel > 2. test_action_install_rhel > 3. test_action_install_suse > 4. test_action_install_ubuntu > 5. test_action_install_ubuntu_update > 6. test_action_install_use_repos_rhel > 7. test_action_install_version_attr > 8. test_action_remove_rhel > 9. test_action_remove_suse > > > ==================================== > > > File Attachments > ---------------- > > Oozie Upgrade Screenshot > > https://reviews.apache.org/media/uploaded/files/2015/11/17/e054ef62-47aa-4104-abdf-8fd5359c5e6b__Screen_Shot_2015-11-16_at_5.14.33_PM.png > > > Thanks, > > Swapan Shridhar > >
