Storm单机环境搭建
1. 安装环境要求
you need to install Storm's dependencies on Nimbus and the worker machines. These are:
Java 7+ (Apache Storm 1.x is tested through travis ci against both java 7 and java 8 JDKs)
Python 2.6.6 (Python 3.x should work too, but is not tested as part of our CI enviornment)
按照官方文档 的说明:storm 运行依赖于 Java 7+ 和 Python 2.6.6 +,所以需要预先安装这两个软件。由于这两个软件在多个框架中都有依赖,其安装步骤单独整理至 :
2. 下载并解压
下载并解压,官方下载地址:http://storm.apache.org/downloads.html
3. 配置环境变量
添加环境变量:
使得配置的环境变量生效:
4. 启动相关进程
因为要启动多个进程,所以统一采用后台进程的方式启动。进入到 ${STORM_HOME}/bin
目录下,依次执行下面的命令:
5. 验证是否启动成功
验证方式一:jps 查看进程:
验证方式二: 访问 8080 端口,查看 Web-UI 界面:
最后更新于
这有帮助吗?