storm环境配置

strom 跑起来还是很容易的,基本之需要两个步骤.

 

步骤一,编辑conf/storm.yaml:

java.library.path: "/usr/local/lib"
storm.local.dir: "/duitang/data/storm-data"
#storm.zookeeper.servers: - "10.232.68.58"
storm.zookeeper.servers:
    - "127.0.0.1"
nimbus.host: "127.0.0.1"
ui.port: 8080
supervisor.childopts: "-Xmx256m"
worker.childopts: "-Xmx1024m -XX:MaxDirectMemorySize=32m"

 

步骤二,运行 ./storm nimbus

基本上按照上面步骤可以成功,最开始配置文件写成#storm.zookeeper.servers: - "10.232.68.58",结果报类型转换错误,浪费不少时间。

 

 

更多参考:http://shiyanjun.cn/archives/241.html

你可能感兴趣的:(storm)