----------------------------------------------------------- This is an automatically generated e-mail. To reply, visit: https://reviews.apache.org/r/49953/#review141924 -----------------------------------------------------------
Ship it! Ship It! - Nate Cole On July 12, 2016, 10:55 a.m., Jonathan Hurley wrote: > > ----------------------------------------------------------- > This is an automatically generated e-mail. To reply, visit: > https://reviews.apache.org/r/49953/ > ----------------------------------------------------------- > > (Updated July 12, 2016, 10:55 a.m.) > > > Review request for Ambari, Alejandro Fernandez and Nate Cole. > > > Bugs: AMBARI-17667 > https://issues.apache.org/jira/browse/AMBARI-17667 > > > Repository: ambari > > > Description > ------- > > HDP 2.5 includes a new version of Storm where packages named > {{backtype.storm}} were changed to {{org.apache.storm}}. As a result, Storm > local data is not compatible between versions earlier versions of HDP and HDP > 2.5. Consider the following situatio where Nimbus and a Supervisor are > co-located on the same host: > > - Nimbus deletes local data and restarts on the new version > - A running 2.4 Supervisor on the same host then re-creates that directory > and puts 2.4 data back in > - When the 2.4 Supervisor goes to upgrade and restart, it can't delete that > data again since Nimbus is already running and would stop. > > When starting the Supevisor, the following error is seen: > ``` > 2016-06-21 23:10:48.000 o.a.s.c.f.s.ConnectionStateManager [INFO] State > change: CONNECTED > 2016-06-21 23:10:48.058 b.s.d.supervisor [INFO] Starting supervisor with id > 03d8bceb-0271-4076-810d-04aeaa91533c at host > nat-os-r6-omns-dgm10toeriedwngdha-r6-2.openstacklocal > 2016-06-21 23:10:48.785 b.s.event [ERROR] Error when processing event > java.lang.RuntimeException: java.lang.ClassNotFoundException: > org.apache.storm.generated.LSSupervisorAssignments > at backtype.storm.utils.LocalState.deserialize(LocalState.java:83) > ~[storm-core-0.10.0.2.4.2.0-258.jar:0.10.0.2.4.2.0-258] > at backtype.storm.utils.LocalState.get(LocalState.java:130) > ~[storm-core-0.10.0.2.4.2.0-258.jar:0.10.0.2.4.2.0-258] > at > backtype.storm.local_state$ls_local_assignments.invoke(local_state.clj:83) > ~[storm-core-0.10.0.2.4.2.0-258.jar:0.10.0.2.4.2.0-258] > at > backtype.storm.daemon.supervisor$sync_processes.invoke(supervisor.clj:323) > ~[storm-core-0.10.0.2.4.2.0-258.jar:0.10.0.2.4.2.0-258] > ... > ``` > > > Diffs > ----- > > > ambari-server/src/main/java/org/apache/ambari/server/checks/CheckDescription.java > 29feb28 > > ambari-server/src/main/java/org/apache/ambari/server/checks/StormShutdownWarning.java > PRE-CREATION > > ambari-server/src/main/java/org/apache/ambari/server/state/UpgradeHelper.java > 66272e3 > ambari-server/src/main/resources/stacks/HDP/2.3/upgrades/upgrade-2.5.xml > 85ffb8c > ambari-server/src/main/resources/stacks/HDP/2.4/upgrades/upgrade-2.5.xml > 68e8fc2 > > ambari-server/src/test/java/org/apache/ambari/server/checks/StormShutdownWarningTest.java > PRE-CREATION > > Diff: https://reviews.apache.org/r/49953/diff/ > > > Testing > ------- > > Upgraded/Downgrade of Storm from HDP 2.4 to 2.5; verified Supervisors and > Nimbus were running and passed SC. > > Unit Tests Pending... > > > Thanks, > > Jonathan Hurley > >