Apache Storm 的安装
来源:互联网 发布:timeedit控件优化 编辑:程序博客网 时间:2024/05/21 21:54
安装Java
> sudo apt-get install openjdk-8-jdk
安装ZooKeeper
> wget https://mirrors.tuna.tsinghua.edu.cn/apache/zookeeper/zookeeper-3.4.9/zookeeper-3.4.9.tar.gz> tar -zxf zookeeper-3.4.9.tar.gz > cd zookeeper-3.4.9.tar.gz # Create storage folder> sudo mkdir /var/zookeeper> sudo chmod -R 777 /var/zookeeper# Create config file in conf/zoo.cfg> vim zoo.cfg tickTime=2000 dataDir=/var/zookeeper clientPort=2181# Running:> ./bin/zkServer.sh start# Connecting to ZooKeeper:> ./bin/zkCli.sh -server 127.0.0.1:2181> help> ls /> ctrl+c for exit
安装Apache Storm
> wget http://mirrors.hust.edu.cn/apache/storm/apache-storm-1.1.0/apache-storm-1.1.0.tar.gz> tar -zxf apache-storm-1.1.0.tar.gz > cd apache-storm-1.1.0/
Note: The Storm release contains a file at conf/storm.yaml that configures the Storm daemons.
Configurations
storm.zookeeper.servers:- "127.0.0.1:2181"storm.zookeeper.port: 2181> sudo mkdir /var/storm> sudo chmod -R 777 /var/stormstorm.local.dir: "/var/storm"nimbus.seeds: The worker nodes need to know which machines are the candidate of master in order to download topology jars and confs.nimbus.seeds : ["localhost"]supervisor.slots.ports: For each worker machine, you configure how many workers run on that machine with this config. Each worker uses a single port for receiving messages, and this setting defines which ports are open for use.supervisor.slots.ports: - 6700 - 6701 - 6702 - 6703The health check directory location can be configured with:storm.health.check.dir: "/var/storm/healthchecks"storm.health.check.timeout.ms: 2000
Running:
> ./bin/storm nimbus> ./bin/storm supervisor> ./bin/storm ui (ui can be access from http://{ui host}:8080)Options:> sudo ln -s /vagrant/apache-storm-1.1.0/bin/storm /usr/local/bin/
Use Python streamparse
streamparse http://streamparse.readthedocs.io/en/stable/
# 安装 Leiningen> wget https://raw.githubusercontent.com/technomancy/leiningen/stable/bin/lein> sudo cp lein /usr/local/bin/> sudo chmod a+x /usr/local/bin/lein> lein> lein version# 链接 storm命令> sudo ln -s /vagrant/apache-storm-1.1.0/bin/storm /usr/local/bin/> storm version
阅读全文
0 0
- Apache Storm 的安装
- apache storm的安装部署
- apache-storm安装使用
- Apache storm单机安装文档
- Apache Storm 环境安装笔记
- vmware安装Apache Storm集群
- Apache Storm 的安装、配置及入门基础(一)
- Apache Storm 的安装、配置及入门基础(二)
- Storm入门-storm的安装
- Storm 的安装配置
- Storm集群的安装
- Storm的安装步骤
- Storm集群的安装
- storm集群的安装
- Storm的安装步骤
- storm的安装
- Storm的安装配置
- Storm的安装
- mysql 查询一小时之内的数据
- Apache Spark 的安装
- Myeclipse 8.5破解方法
- 高级表单、表格+bfc讲解与使用
- 区块链开发底层交易虚拟币的找零机制是什么?
- Apache Storm 的安装
- 数组必知道的几个操作
- Merriam Webster's Vocabulary Builder Roots 韦小绿英文词根 Unit 1整理
- opencv里的内存泄漏(持续更新)
- 文字高度自适应
- TCP连接状态
- .NET出现频率非常高的笔试题
- C#生成txt文件,并将数据写入进去
- C++快速判断二进制某位是1或0