Skip to content

Instantly share code, notes, and snippets.

@edwardw
Last active June 8, 2016 15:52
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 1 You must be signed in to fork a gist
  • Save edwardw/1518116 to your computer and use it in GitHub Desktop.
Save edwardw/1518116 to your computer and use it in GitHub Desktop.
Install and start storm nimbus and supervisor

First, install storm dependencies. How do I compile jzmq for ZeroMQ on OSX? helps.

$ brew install zeromq
$ git clone https://github.com/nathanmarz/jzmq.git
$ cd jzmq
$ sudo vim /usr/share/aclocal/dirlist (sudo cat > /usr/share/aclocal/dirlist permission denied?)
/usr/local/share/aclocal
/usr/local/Cellar/pkg-config/0.25/share/aclocal/
$ export JAVA_HOME=/Library/Java/Home
$ ./autogen.sh
$ ./configure
$ make
$ sudo make install

Install storm and launch nimbus and supervisor:

$ wget -c https://github.com/downloads/nathanmarz/storm/storm-0.6.1-rc.zip
$ unzip storm-0.6.1-rc.zip
$ cd storm-0.6.1-rc
$ vim conf/storm.yaml
storm.zookeeper.servers:
     - "192.168.1.6"
storm.local.dir: "/Users/edward/ws/sandbox/storm/storm-0.6.1-rc/var"
nimbus.host: "192.168.1.2"
$ mkdir var
$ bin/storm nimbus
$ bin/storm supervisor
$ bin/storm ui
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment