Pseudo Distributed Cluster Installation in Storm

Hi Storm Viewers,

This post will give you an idea about Pseudo installation of storm. This storm can able to perform on the fly analysis perfectly in a fast manner. Follow the Installation steps to get Storm in your machine

Storm_pseudo_node_installation

Download:
Storm can be downloaded from below link. Visit Storm official web Site for the latest version.

We need Zookeeper , before installing Storm. Follow the installation steps of Zookeeper.
Zookeeper Installation
================
1) Download Zookeeper
$ wget http://www.webhostingreviewjam.com/mirror/apache/zookeeper/zookeeper-3.4.6/zookeeper-3.4.6.tar.gz

2) Untar and configure Zookeeper
$ tar -zxcf zookeeper-3.4.6.tar.gz

Enter into Zookeeper/conf folder and copy the zoo_sample.cfg to another file zoo.cfg.
$ cd zookeeper-3.4.6
$ cd conf
$ cp zoo_sample.cfg zoo.cfg
$ vi zoo.cfg (add the properties)

tickTime=2000
initLimit=10
dataDir=/home/saravanan/zookeeper-storm-Meta
syncLimit=5
clientPort=2181

3) Start Zookeeper

$bin/zkServer.sh start

$ jps

QuorumPeerMain
————————————————————————————————————

Download Storm
——————
$ wget http://ftp.wayne.edu/apache/storm/apache-storm-0.9.4/apache-storm-0.9.4.tar.gz

Untar Storm and enter in to conf folder of Storm, you will find a storm.yaml file.

$ tar -zxvf apache-storm-0.9.3.tar.gz
$ cd apache-storm-0.9.3
$ cd conf

$ vi storm.yaml

storm.zookeeper.servers:
- “localhost”

storm.zookeeper.port: 2181
nimbus.host: “localhost”
storm.local.dir: “/home/saravanan/hadoop2/storm”

Start Storm Single Node
========================================
After configuring storm.yaml , start the daemons of Storm i.e nimbus, supervisor, core.

$ cd apache-storm-0.9.3
$ bin/storm nimbus
$ bin/storm supervisor
$ bin/storm ui

With the help of jps command, Check whether all daemons are running

$jps
core
QuorumPeerMain
nimbus
supervisor

Check for Browser : localhost:8080

———————————-

Article written by DataDotz Team

DataDotz is a Chennai based BigData Team primarily focussed on consulting and training on technologies such as Apache Hadoop, Apache Spark , NoSQL(HBase, Cassandra, MongoDB), Search and Cloud Computing.

Note: DataDotz also provides classroom based Apache Kafka training in Chennai. The Course includes Cassandra , MongoDB, Scala and Apache Spark Training. For more details related to Apache Spark training in Chennai, please visit http://datadotz.com/training/