Non-Ambari Cluster Installation Guide
Also available as:
PDF
loading table of contents...

Configure Storm

Use the following procedure to configure Storm:

  1. Add the following properties to the /etc/storm/conf/storm.yaml file, substituting your own list of hostnames and ports:

    storm.zookeeper.servers: [<zookeeper-servers>]              
    nimbus.seeds: [<nimbus-hostnames>]
    storm.local.dir: $STORM_LOCAL_DIR
    logviewer.port: 8081
    storm.log.dir: $STORM_LOG_DIR   

    where:

    <zookeeper-servers> is a comma-separated list of ZooKeeper servers.

    <nimbus-hostnames> is a comma-separated list of hosts where the Storm Nimbus server is started.

    $STORM_LOCAL_DIR and $STORM_LOG_DIR must exist on all Storm nodes.

    For example:

    storm.zookeeper.servers: ["host1:port1", "host2:port2", "host3:port3"]
    nimbus.seeds: ["host1:port1", "host2:port2"]
    storm.local.dir: /mnt/storm
    logviewer.port: 8081
    storm.log.dir: /var/log/storm
    
  2. Run the following commands:

    chown -R storm:storm $STORM_LOCAL_DIR $STORM_LOG_DIR

    chmod -R 755 $STORM_LOCAL_DIR