ambari-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Swapan Shridhar" <sshrid...@hortonworks.com>
Subject Re: Review Request 40674: Express Upgrade : Unable to start Storm Supervisor in HDP 2.1->2.3.M20 and config symlink is wrong
Date Tue, 24 Nov 2015 22:46:51 GMT

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

(Updated Nov. 24, 2015, 10:46 p.m.)


Review request for Ambari and Alejandro Fernandez.


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


Repository: ambari


Description
-------

While doing Express Upgrade of stack from HDP 2.1 -> 2.3, the following issues were seen
for Storm.
 
 - Storm Config /etc/storm/conf is incorrectly pointing to /etc/alternatives/storm-conf.
 - Restarting the Storm supervisor fails (Attached Screenshot).

Resolution :

1. Fixed the conf_select.py for conf symlink. In case, '/etc/storm/conf' does have a symlink
and it's not the correct one (eg: /etc/alternatives/storm-conf), we remove the symlink and
make it point to correct symlink (eg: /etc/storm/2.3.x.y-<vesrion>/0). 
2. Fixed the Storm Supervisor failure, by adding the tasks required in 2.1/nonrolling-upgrade-2.3.xml
for "Zookeeper and Storm local data removal".


Diffs
-----

  ambari-common/src/main/python/resource_management/libraries/functions/conf_select.py f0c63c6

  ambari-server/src/main/resources/stacks/HDP/2.1/upgrades/nonrolling-upgrade-2.3.xml a21baf1


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


Testing
-------

- Express Upgarde from HDP 2.1 -> 2.3: Storm came up proerly.
- Service checks after upgrade ran fine.
- Stop and Start of Storm after Upgrade worked fine.

-  Unit Test: PASS (except for 9 failures already seen in : TestPackageResource.TestPackageResource).


Thanks,

Swapan Shridhar


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