Pre-Upgrade Steps for Storm

Complete the following steps before you upgrade Storm with or without the MapR Installer.

About this task

First, you stop the currently running topology so you can submit a new topology under the same name after the upgrade completes. Next, you back up configuration files if you made configuration changes that you want to carry over to the next version.

Procedure

  1. Stop the currently running topology.
    storm kill <topology-name>
  2. For upgrades without the MapR Installer: 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. Copy the files in /opt/mapr/storm/storm-<version>/conf/ to a location outside the MapR installation.
    After upgrading, you can reapply changes to the updated Storm installation using the backup.