Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save asif31iqbal/d920a83e067a50ce2f0715aec37673c4 to your computer and use it in GitHub Desktop.
Save asif31iqbal/d920a83e067a50ce2f0715aec37673c4 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