apache storm的安装部署

本文档详细介绍了Apache Storm的集群部署过程,包括在6台机器上的整体部署规划,zookeeper的安装步骤,以及storm的安装配置。重点强调了zookeeper的节点配置和storm的nimbus、supervisor及ui的启动。最后,通过访问node01的6066端口可以查看storm UI界面,确认部署成功。
摘要由CSDN通过智能技术生成

一、storm集群整体部署

集群总共使用了6台机器:

storm使用3个节点(nimbus在node01, supervisor在node02、node03)

zookeeper使用3个节点(node04、node05、node06)

二、zookeeper安装

1、使用最新的稳定版本3.4.6,下载地址 http://mirror.bit.edu.cn/apache/zookeeper/stable/zookeeper-3.4.6.tar.gz

tar zxvf zookeeper-3.4.6.tar.gz 
ln -s zookeeper-3.4.6 zookeeper
rm  zookeeper-3.4.6.tar.gz
cp zookeeper/conf/zoo_sample.cfg zookeeper/conf/zoo.cf

2、修改配置文件zoo.cfg , 根据自己的实际情况修改红色部分即可,其余配置可以使用默认的。

# The number of milliseconds of each tick
tickTime=2000
# The number of ticks that the initial 
# synchronization phase can take
initLimit=10
# The number of ticks that can pass between 
# sending a request and getting an acknowledgement
syncLimit=5
# the directory where the snapshot is stored.
# do not use /tmp 
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值