2. Configure Storm

Use the following procedure to configure Storm:

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

    storm.zookeeper.servers:
        - $ZOOKEEPER_SERVERS
    
    nimbus.host: $NIMBUS_HOSTNAME
    
    drpc.servers:
        - "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...