MapR 5.0 Documentation : Upgrading to Storm 0.9.4

If you installed Storm with the MapR Installer, use the latest version of the MapR Installer to perform the upgrade. 

This section contains instructions for upgrading from Storm 0.9.3 to 0.9.4.

Storm does not support rolling upgrades of the Storm service. Therefore, you need to stop the topology, update the client version to match the new version, and resubmit the topology. Follow these steps:

  1. Stop the currently running topology, so that you can submit a new topology under the same name, using the Storm CLI or the Web UI:

    storm kill <topology-name>


  2. Using maprcli commands, stop the Storm nimbus, storm-ui, and supervisor services:

    maprcli node services -name nimbus -action stop -nodes <node list>
    maprcli node services -name storm-ui -action stop -nodes <node list>
    maprcli node services -name supervisor -action stop -nodes <node list>
  3. If you have modified the configuration of your current installation of Storm, apply those changes to the updated version. Configuration properties are located in /opt/mapr/storm/storm-<version>/conf/.
  4. Update the storm components to the new version, using either a package manager or manual remove and install commands:
    To upgrade with a package manager:
    RedHat and CentOS
    yum upgrade mapr-storm mapr-storm-ui mapr-storm-nimbus mapr-storm-supervisor
    Ubuntu
    apt-get install mapr-storm mapr-storm-ui mapr-storm-nimbus mapr-storm-supervisor
    To manually remove a prior version and install the latest version in the repository:
    RedHat and CentOS 
    yum remove mapr-storm mapr-storm-ui mapr-storm-nimbus mapr-storm-supervisor
    yum install mapr-storm mapr-storm-ui mapr-storm-nimbus mapr-storm-supervisor
    Ubuntu
    apt-get remove mapr-storm mapr-storm-ui mapr-storm-nimbus mapr-storm-supervisor
    apt-get install mapr-storm mapr-storm-ui mapr-storm-nimbus mapr-storm-supervisor

  5. Resubmit the topology:

    storm jar <jar-path> <main class>