注意: 如果存在主机名(非localhost)映射为127.0.0.1 的配置,必须删除,不然jstorm启动时会报错。例如 127.0.0.1 10-19-182-153
配置.bashrc export JSTORM_HOME=/root/jstorm-2.2.1 export PATH=$PATH:$JSTORM_HOME/bin 配置strom.yaml ########### These MUST be filled in for a storm configuration storm.zookeeper.servers: - "10.19.90.47" - "10.19.182.153" - "10.19.4.249" - "10.19.10.250" - "10.19.62.8" storm.zookeeper.root: "/jstorm" cluster.name: "tangdou" #nimbus.host/nimbus.host.start.supervisor is being used by $JSTORM_HOME/bin/start.sh #it only support IP, please don't set hostname # For example # nimbus.host: "10.132.168.10, 10.132.168.45" nimbus.host: "10.19.90.47, 10.19.4.249, 10.19.62.8" #nimbus.host.start.supervisor: false # %JSTORM_HOME% is the jstorm home directory storm.local.dir: "%JSTORM_HOME%/data" # please set absolute path, default path is JSTORM_HOME/logs jstorm.log.dir: "/data/log" # java.library.path: "/usr/local/lib:/opt/local/lib:/usr/lib"