Integrate Apache storm with zookeeper in windows
来源:互联网 发布:c程序员笔试题题库 编辑:程序博客网 时间:2024/05/16 05:40
http://stackoverflow.com/a/30818202
Integrate Apache storm with zookeeper in windows
Can anyone help me how to integrate storm with zookeeper in windows.
I try to find the find a good installation steps for production in windows but I can't.
Write now I have installed stand alone zookeeper and I am trying to configure it in the storm.yaml
.
sample code I tried :
storm.zookeeper.servers: - "127.0.0.1" - "server2"storm.zookeeper.port: 2180 nimbus.host: "localhost"
If any body knows please help me.
1 Answer
Please follow the below steps for complete installation of storm with zookeeper in windows 1. create a zoo.cfg file under /conf directory of zookeeper. here are the configuration entries
# The number of milliseconds of each ticktickTime=2000# The number of ticks that the initial # synchronization phase can takeinitLimit=10# The number of ticks that can pass between # sending a request and getting an acknowledgementsyncLimit=5# the directory where the snapshot is stored.dataDir=D:\\workspace\\zk-data# the port at which the clients will connectclientPort=2181
2.run the zookeeper by executing the zkServer.bat in /bin directory
3.create the storm.yaml file in /conf directory of the apache-storm here are the configuration entries
########### These MUST be filled in for a storm configurationstorm.zookeeper.servers: - "localhost"#supervisor.slots.ports:# - 6700# - 6701# - 6702# - 6703storm.local.dir: D:\\workspace\\storm-datanimbus.host: "localhost"# #
4.run the below commands from the command prompt
a. bin\storm nimbus b. bin\storm supervisor c. bin\storm ui
- hit the browser with localhost:8080 to see the nimbus ui
6.make sure your JAVA_HOME path does not have any space. otherwise storm command will not run.
- Integrate Apache storm with zookeeper in windows
- apache integrate tomcat with jk1.2
- Why should integrate Apache with Tomcat
- Integrate Apache Spark with latest IPython Notebook (Jupyter 4.x)
- Errors with zookeeper trying to run storm-starter in local mode
- org.apache.storm.zookeeper.KeeperException.SystemErrorException
- Eclipse Integrate with Python
- Integrate eclipse with python
- AngularJs integrate with Yii
- GitHub integrate with Eclipse
- Running Apache Storm on Windows
- org.apache.storm.shade.org.apache.zookeeper.KeeperException$NodeExistsException
- integrate android standalone with eclipse
- integrate android standalone with eclipse
- Integrate Maven in Liferay development
- Step by Step Setup Git Server on Windows with CopSSH + msysGit and Integrate Git with Visual Studio
- Step by Step Setup Git Server on Windows with CopSSH + msysGit and Integrate Git with Visual Studio
- Windows下Storm+Kafka+Zookeeper单机开发环境搭建测试
- Spring 配置log4j和简单介绍Log4J的使用
- 批处理命令按日期格式备份目录
- iOS json解析遇到@"";@"<null>";null 处理
- 《java》笔记<九>
- 2015年大二上-数据结构-数组与广义表(3)-2.稀疏矩阵的三元组表示
- Integrate Apache storm with zookeeper in windows
- 去掉java中的注释(尤其针对反编译后的文件)
- TCP通信流程解析
- JavaScript多线程之一~~HTML5中的Web Worker
- mysql 数据表解锁
- QWebException: 'ascii' codec can't decode byte 0xef in position Exception during JSON request h
- 【UML之对象图VS类图】
- 获得当地实时天气
- 工作失误总结
ctrl+k
, not#
– sᴜʀᴇsʜ ᴀᴛᴛᴀ Aug 4 '14 at 11:55