Skip to main content

Posts

Showing posts from March, 2015

StandAlone Apache Storm Installation in Ubuntu 14.04 LTS

Deploying Apache Storm  1) If Java 7 is not present, please install it. 2) Zookeeper Installation Download zookeeper-3.4.6 from Apache site       $ tar -xvf zookeeper-3.4.6.tar.gz       $ cd zookeeper-3.4.6/       $ cp conf/zoo_sample.cfg conf/zoo.cfg       $ bin/zkServer.sh start 3) Storm Cluster Installation Download the storm tarball from official Apache Mirror.  Untar it.       $ tar xzvf apache-storm-0.9.2-incubating.tar.gz Move to new directory.       $ sudo cp -R apache-storm-0.9.2-incubating /usr/lib/ Go to /usr/lib/apache-storm-0.9.2-incubating/ and configure storm.yaml present in conf folder, add the followuing line, this folder must have write permissions too. storm.zookeeper.servers:     - "localhost" storm.zookeeper.port: 2181 nimbus.host: "localhost" storm.local.dir: "/var/stormtmp"      java.library.path: "/usr/lib/jvm/java-7-openjdk-amd64" supervisor.slots.ports:

HBase Fully Distributed Installation

Deploying a Fully-Distributed HBase Cluster For the purpose of clarity and ease of expression, I'll be assuming that we are setting up a cluster of 3 nodes with IP Addresses.     192.168.0.1     192.168.0.2     192.168.0.3 where 192.168.0.1 would be the master and 192.168.0.2,3 would be the slaves/region servers. HBase by default manages a ZooKeeper "cluster" for you. It will start and stop the ZooKeeper ensemble as part of the HBase start/stop process. Step 1: Assign hostnames to all the nodes of the cluster.     192.168.0.1 master     192.168.0.2 regionserver1     192.168.0.3 regionserver2   On the Master Node(192.168.0.1) add:     192.168.0.1 master     192.168.0.2 regionserver1     192.168.0.3 regionserver2   On the Region Server 1(192.168.0.2) add:     192.168.0.1 master     192.168.0.2 regionserver1 And on the Region Server 2(192.168.0.3) add:     192.168.0.1 master     192.168.0.3 regionserver2 Step 2: Download a stable relea