Rate This Document
Findability
Accuracy
Completeness
Readability

Running and Verifying Storm

  1. Start a Storm cluster.
    1. Start the ZooKeeper cluster by following the instructions in Running and Verifying ZooKeeper in the ZooKeeper Deployment Guide.
    2. Start the following processes on server1:
      1
      2
      /usr/local/storm/bin/storm nimbus &
      /usr/local/storm/bin/storm ui &
      
    3. Start the following process on agent1 to agent3:
      1
      /usr/local/storm/bin/storm supervisor &
      
    4. Check whether all processes are started properly. The core process is the UI process.
      1
      jps
      

      Observe the process startup status on all nodes. The process that needs to be started on the server node is the process of server1, and the process that needs to be started on the agent node is the process of agent1. After starting these processes, wait for about 30 seconds. Connect the node where the Storm resides to other nodes until the Storm is started properly. Otherwise, the startup fails. (You can restart the Storm to rectify the fault.)

  2. Stop the Storm cluster.
    1. Run the following command on server1:
      1
      2
      jps | grep nimbus | grep -v grep | awk '{print $1}' | xargs kill -9
      jps | grep core | grep -v grep | awk '{print $1}' | xargs kill -9
      
    2. Run the following command on agent1 to agent3:
      1
      jps | grep Supervisor | grep -v grep | awk '{print $1}' | xargs kill -9
      
    3. Stop the ZooKeeper cluster by following the instructions in Running and Verifying ZooKeeper in the Deployment Guide .