Ambari Upgrade Guide
Also available as:
PDF

Upgrade Storm

Prepare the Storm service properties.

  1. Save the old Storm configuration and add symlink from /etc/storm/conf:

    mv /etc/storm/conf /etc/storm/conf.saved

    ln -s /usr/hdp/current/storm-client/conf /etc/storm/conf

    ls -la /etc/storm

    total 4
    drwxr-xr-x 3 root root 4096 Jun 19 21:51 2.3.0.0-2323
    lrwxrwxrwx 1 root root   35 Jun 19 21:54 conf -> /usr/hdp/current/storm-client/conf
    drwxr-xr-x 2 root root 4096 Jun 14 00:11 conf.saved                  
  2. Delete all states under ZooKeeper:

    /usr/hdp/current/zookeeper-client/bin/zkCli.sh rmr /storm

    Optional: In a secure environment, include the  "-server zk.server:port" option.

  3. Remove the storm.local.dir from every host where the Storm component is installed.

    You can find this property in Services > Storm > Configs under the Settings tab.

    rm -rf <storm.local.dir>

  4. Browse to Services > Storm > Configs under the Advanced tab. In the Supervisor section, find the supervisor.childopts property. Update the path for the jmxetric-1.0.4.jar file to the following:

    /usr/hdp/current/storm-nimbus/contrib/storm-jmxetric/lib/jmxetric-1.0.4.jar

    If the supervisor.childopts property value contains the following setting, delete the setting:

    -Djava.security.auth.login.config=/etc/storm/conf/storm_jaas.conf

    Retain any other settings in the supervisor.childopts box.

  5. Browse to Services > Storm > Configs under the Advanced tab. In the Advanced storm-site section, add or update the following settings for worker.childopts:

    -Xmx768m

    _JAAS_PLACEHOLDER

    -javaagent:/usr/hdp/current/storm-client/contrib/storm-jmxetric/lib/jmxetric-1.0.4.jar

    Retain any other settings in the worker.childopts box.

  6. If you are planning to enable secure mode, browse to Services > Storm > Configs under the Advanced tab and add the following property to the Advanced storm-site section:

    _storm.thrift.secure.transport=backtype.storm.security.auth.kerberos.KerberosSaslTransportPlugin
  7. Start Storm, by selecting Service Actions > Start.

  8. After Storm has started, select Run Service Check from the Service Actions menu. Confirm the Service Check passes.

Using Ambari Web > Services > Service Actions, re-start all stopped services.