Adding New supervisor(worker node) on existing storm cluster

 Follow the given steps to add supervisor(worker node) 

a) Install Java ( same version as your existing cluster)

Note: To install java on linux/ubuntu folllow the given link
b) Install storm(storm-0.8.2 , same version as your existing cluster)


 Install the following native library-

a) To install ZeroMQ type the following command
  • make sure that libtool, autoconf, automake, g++ is installed on your machine
  •  wget
  • tar -xvzf zeromq-2.1.7.tar.gz
  •  cd zeromq-2.1.7
  • ./configure 
   NOTE: If you see this error mesage on your terminal
   configure: error: cannot link with -luuid, install uuid-dev, then install theuuid-dev
   by using the command
    sudo apt -get install uuid-dev  
  • make
  • sudo make install

b) To install JZMQ,

  • git clone
  • cd jzmq
  • ./
  • ./configure
  • make
  • sudo make install

c) set the storm.yaml file.

 // name of the machine where you install zookeeper in my case this is nimbus

       - "nimbus"
#     - "server2" // name of the machine which you make your nimbus or master
#          machine in my case this is also "nimbus" "nimbus"

# - 6700
#- 6701 java.library.path: "/usr/local/lib:/opt/local/lib:/usr/lib"

 d) Add /etc/hosts file.

1 comment: