This package is a package group for ease of setting up a storm cluster.
- OS: CentOS 6.X
- CPU Arch: x64
- Middleware: Needs JDK6 or after(Oracle JDK or Open JDK)
Before you install Storm Package on a cluster, there are some important steps you need to do to prepare your system.
1.Storm needs zookeeper cluster.
For zookeeper cluster installation, you find install step on cdh.
https://ccp.cloudera.com/display/CDH4DOC/CDH4+Installation
http://archive.cloudera.com/cdh4/redhat/6/x86_64/cdh/4/RPMS/noarch/
or below url(in Japanese)
http://d.hatena.ne.jp/acro-engineer/20111123/1322059295
1.Unzip downloaded zip archive.
https://github.com/acromusashi/storm-installer/wiki/Download
2.Change root user and Install the RPM:
If occur failed dependencies uuid, download from
http://zid-lux1.uibk.ac.at/linux/rpm2html/centos/6/os/x86_64/Packages/uuid-1.6.1-10.el6.x86_64.html ,
and install uuid-1.6.1-10.el6.x86_64.rpm.
> su -
# rpm -ivh zeromq-2.1.7-1.el6.x86_64.rpm
# rpm -ivh zeromq-devel-2.1.7-1.el6.x86_64.rpm
# rpm -ivh jzmq-2.1.0-1.el6.x86_64.rpm
# rpm -ivh jzmq-devel-2.1.0-1.el6.x86_64.rpm
# rpm -ivh storm-0.8.2-1.el6.x86_64.rpm
# rpm -ivh storm-service-0.8.2-1.el6.x86_64.rpm
3.Set the zookeeper host and niubus host to below property.
(Reference: http://nathanmarz.github.com/storm/doc/backtype/storm/Config.html )
- storm.zookeeper.servers (STORM_ZOOKEEPER_SERVERS)
- nimbus.host (NIMBUS_HOST)
# vi /opt/storm/conf/storm.yaml
Setting Example:
########### These MUST be filled in for a storm configuration
storm.zookeeper.servers:
- "192.168.100.101" ## zookeeper host
nimbus.host: "192.168.100.101" ## nimbus host
4.Start or stop storm cluster by following commands:
Start
# service storm-nimbus start
# service storm-ui start
# service storm-supervisor start
Stop
# service storm-nimbus stop
# service storm-ui stop
# service storm-supervisor stop
Project : Storm
Version : 0.8.2
Lisence : Eclipse Public License 1.0
Source URL : http://storm-project.net/
Project : ZeroMQ
Version : 2.1.7
Lisence : LGPLv3
Source URL : http://www.zeromq.org/
Project : JZMQ
Version : 2.1.0
Lisence : LGPLv3
Source URL : https://github.com/zeromq/jzmq
Distributed under the Eclipse Public License.
http://opensource.org/licenses/eclipse-1.0.php