Using Apache Storm
Also available as:
PDF

Installing and Configuring Storm

This chapter describes how to install and configure Storm on an Ambari-managed cluster. To install Storm on a cluster that is not managed by Ambari, see Installing and Configuring Apache Storm in the Non-Ambari Cluster Installation Guide.

To install Storm using Ambari, see Adding a Service to your Hadoop cluster in the Ambari User's Guide. (Note: the link points to Ambari 2.1.2.1 documentation.)

To complete the Ambari-based installation process, review and modify the values for two Storm properties as described in the following steps. The two properties specify JVM options for Storm processes. Each property setting is a comma-separated list of <option>=<value> pairs.

You can make these changes during the Customize Services step in the Ambari Install Wizard, or immediately after completing the Install Wizard:

  • From the Customize Services step in the Ambari Install Wizard, choose the "Storm" tab.

  • From the main Ambari page, browse to Services > Storm and select the Configs tab.

[Note]Note

Values are case-sensitive.

  1. Edit the supervisor.childopts property.

    1. Find the supervisor.childopts property by expanding the "Supervisor" configuration category:

      or by using the Properties filter box to search for "supervisor.childopts":

    2. In the list of supervisor.childopts values, update the path for the jmxetric-1.0.4.jar file to the following path:

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

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

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

    4. If there are other settings in the supervisor.childopts box, leave them as-is.

  2. Edit the worker.childopts property.

    1. Find the worker.childopts.property by expanding the "Advanced storm-site" configuration category, or by using the Properties filter box to search for "worker.childopts".

    2. 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

    3. If there are other settings in the worker.childopts box, leave them as-is.