先安装zookeeper,参考本文件夹下安装文档 启动zookeeper 1、解压stome /opt/Server目录下 tar -zxf apache-storm-1.1.0.tar.gz 2、修改配置文件 vim ./conf/storm.yaml ########### These MUST be filled in for a storm configuration storm.zookeeper.servers: - "192.168.35.152" # - "server2" # nimbus.seeds: ["192.168.35.152"] # # ##### These may optionally be filled in: # ## List of custom serializations # topology.kryo.register: # - org.mycompany.MyType # - org.mycompany.MyType2: org.mycompany.MyType2Serializer # ## List of custom kryo decorators # topology.kryo.decorators: # - org.mycompany.MyDecorator # ## Locations of the drpc servers drpc.servers: - "192.168.35.152" # - "server2" 3、启动stome (需要先启动zookeeper) stome的bin目录下 启动nimbus ./storm nimbus & 启动ui界面 ./storm ui & 启动supervisor ./storm supervisor & 4、stome的UI页面 http://172.0.0.1:8080/index.html
标签:mycompany,单机,zookeeper,启动,storm,org,安装,stome From: https://www.cnblogs.com/robots2/p/18647333