0


MacBook安装Storm与启动

MacBook安装Storm与启动

官方下载地址: https://storm.apache.org/downloads.html

官方下载 apache-storm-1.2.2.tar.gz

MacBook Linux安装zookeeper

解压
tar -zxvf apache-storm-1.2.2.tar.gz

先启动zookeeper
cd zookeeper-3.4.12
./bin/zkServer.sh start 

#查看状态 
./bin/zkServer.sh status

cd apache-storm-1.2.2
mkdir data

配置zookeeper地址等信息
vim conf/storm.yaml
 storm.zookeeper.servers:
  - "127.0.0.1"
 storm.local.dir: "/Users/liang/software/apache-storm-1.2.2/data"
 nimbus.host: "127.0.0.1"
 supervisor.slots.ports:
  - 6700
  - 6701
  - 6702
  - 6703

 ui.port: 8081

bin/storm nimbus   启动Nimbus
nohup bin/storm nimbus >> /dev/null & 后台启动

bin/storm supervisor 启动Supervisor
nohup bin/storm supervisor >> /dev/null & 后台启动

bin/storm ui  启动ui
nohup bin/storm ui >> /dev/null & 后台启动

访问ui: http://127.0.0.1:8081/index.html

在这里插入图片描述

参考链接:
https://www.cnblogs.com/freeweb/p/5234139.html
https://www.cnblogs.com/senlinyang/p/7832324.html
https://www.cnblogs.com/zhaojiankai/p/7257617.html
https://www.cnblogs.com/quchunhui/p/5370191.html
https://www.w3cschool.cn/apache_storm/apache_storm_installation.html
https://www.jianshu.com/p/74199e8a80f2
https://www.kubernetes.org.cn/doc-38
https://www.cnblogs.com/freeweb/p/5242631.html
https://www.cnblogs.com/freeweb/p/5242099.html

标签: storm macbook

本文转载自: https://blog.csdn.net/yinjl123456/article/details/122724444
版权归原作者 beyond阿亮 所有, 如有侵权,请联系我们删除。

“MacBook安装Storm与启动”的评论:

还没有评论