#!/bin/bash ## storm 2016-06-23 ## http://www.aqzt.com ##email: ppabc@qq.com ##robert yu ##centos 6 ##storm 单节点安装部署 yum install -y curl openssh-server openssh-clients postfix cronie git nmap unzip wget lsof xz gcc make vim curl gcc-c++ libtool ##注意修改主机名 cat >>/etc/hosts<>/etc/sysconfig/network cat >>/etc/profile</opt/zk/conf/zoo.cfg</opt/apache-storm-0.10.1/conf/storm.yaml</dev/null 2>&1 & sleep 10 ##Supervisor: 在Storm各个工作节点上运行 cd /opt/apache-storm-0.10.1 bin/storm supervisor >/dev/null 2>&1 & sleep 10 ##UI: 在Storm主控节点上运行 cd /opt/apache-storm-0.10.1 bin/storm ui >/dev/null 2>&1 & ##启动后可以通过http://{nimbus host}:8080观察集群的worker资源使用情况、Topologies的运行状态等信息。 ##如果是集群,多节点,其他节点Supervisor: 在Storm各个工作节点上运行 ##cd /opt/apache-storm-0.10.1 ##bin/storm supervisor >/dev/null 2>&1 & ##停止Storm Topology: ##storm kill {toponame} ##其中,{toponame}为Topology提交到Storm集群时指定的Topology任务名称。