Command Line Upgrade
Also available as:
loading table of contents...

Configure and Start Apache Storm

Apache Storm is fairly independent of changes to the HDP cluster, but you must upgrade Storm for rolling upgrade support in HDP 2.5.3 and be on the latest version of Storm.

  1. After upgrading Storm, replace your configuration. In /etc/storm/conf/storm.yaml change references backtype.storm to org.apache.storm . This is needed because namespace migration in apache storm.

  2. Replace your ZooKeeper configuration after upgrading. Replace the ZooKeeper template configuration in /etc/zookeeper/conf.

  3. Ensure ZooKeeper is running. On the storm node, run the following command:

    su - zookeeper -c "source /etc/zookeeper/conf/; export ZOOCFGDIR=/etc/zookeeper/conf; /usr/hdp/current/zookeeper-server/bin/ start >> $ZOO_LOG_DIR/zoo.out\"


    • $ZOO_LOG_DIR is the directory where ZooKeeper server logs are stored. For example, /var/log/zookeeper.

  4. Start Storm processes, using a process controller (like supervisord) or manually. Start nimbus, then supervisor/ui/drpc/logviewer:

    /usr/hdp/current/storm-nimbus/bin/storm nimbus.

    You can use the same command syntax to start Storm using nimbus/ui and logviewer.

    su - storm /usr/hdp/current/storm-supervisor/bin/storm supervisor

    su - storm /usr/hdp/current/storm-supervisor/bin/storm ui

    su - storm /usr/hdp/current/storm-supervisor/bin/storm logviewer

    su - storm /usr/hdp/current/storm-supervisor/bin/storm drpc