Installing and Configuring Apache Storm
Also available as:
PDF

Installing Apache Storm

  1. Click the Ambari "Services" tab.
  2. In the Ambari "Actions" menu, select "Add Service." This starts the Add Service Wizard, displaying the Choose Services screen. Some of the services are enabled by default.
  3. Scroll down through the alphabetic list of components on the Choose Services page, select "Storm", and click "Next" to continue:


  4. On the Assign Masters page, review node assignments for Storm components.

    If you want to run Storm with high availability of nimbus nodes, select more than one nimbus node; the Nimbus daemon automatically starts in HA mode if you select more than one nimbus node.

    Modify additional node assignments if desired, and click "Next".



  5. On the Assign Slaves and Clients page, choose the nodes that you want to run Storm supervisors and clients:


    Storm supervisors are nodes from which the actual worker processes launch to execute spout and bolt tasks.

    Storm clients are nodes from which you can run Storm commands (jar, list, and so on).

  6. Click Next to continue.
  7. Ambari displays the Customize Services page, which lists a series of services:


    For your initial configuration you should use the default values set by Ambari. If Ambari prompts you with the message "Some configurations need your attention before you can proceed," review the list of properties and provide the required information.

  8. Click Next to continue.
  9. When the wizard displays the Review page, ensure that all HDP components correspond to HDP 2.5.0 or later:


  10. Click Deploy to begin installation.
  11. Ambari displays the Install, Start and Test page. Review the status bar and messages for progress updates:


  12. When the wizard presents a summary of results, click "Complete" to finish installing Storm:


To validate the Storm installation, complete the following steps:

  1. Point your browser to the Storm UI URL for Ambari: http://<storm-ui-server>:8744 . You should see the Storm UI web page.
  2. Submit the following command:

    storm jar /usr/hdp/current/storm-client/contrib/storm-starter/storm-starter-topologies-*.jar org.apache.storm.starter.WordCountTopology wordcount

  3. The WordCount sample topology should run successfully.