2. Configure Storm

Use the following procedure to configure Storm:

  1. Add the following properties to the /etc/storm/conf/storm.yaml file to configure Storm.

    nimbus.host: $NIMBUS_HOSTNAME
        - "localhost"
    storm.local.dir: $STORM_LOCAL_DIR
    logviewer.port: 8081

    ZOOKEEPER_SERVERS is a comma-separated list of ZooKeeper servers.

    NIMBUS_HOSTNAME is the hostname where the Storm Nimbus server is started.

    STORM_LOCAL_DIR should be /tmp/storm/local, and it must exist on all Storm nodes.

  2. Execute the following commands:

    chown -R storm:storm $STORM_LOCAL_DIR
    chmod -R 755 $STORM_LOCAL_DIR

loading table of contents...