You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@eagle.apache.org by Edward Zhang <yo...@apache.org> on 2018/08/05 02:02:01 UTC

How to make zookeeper port consistent while running org.apache.eagle.server.ServerDebug

I am running ServerDebug in intellij and wants to install "Alert Engine"
application through Eagle UI, there is issue with zookeeper port.

By default, local mode of Storm will run zookeeper at port 2000 instead of
2181. Even after I modified
eagle-server/src/main/resources/application.conf to use port 2000, I still
see  alert bolt in Alert Engine tried to connect to 2181.

Here are some logs:
// local mode of Storm was started with zookeeper port 2000
1. INFO  [2018-08-05 01:59:28,837] [ApplicationStatusUpdateServiceImpl
RUNNING] backtype.storm.zookeeper: Starting inprocess zookeeper at port
2000 and dir
/var/folders/xr/fq2h8cbj1kq2zybkqrq54vt42zcw96/T//c6b6a179-8931-416e-896d-25f0448b596c

// AlertBolt in AlertEngine topology still tried to connect to zookeeper
port 2181.
2. INFO  [2018-08-05 01:59:34,104] [alertBolt6-evaluator_stage1]
org.apache.zookeeper.ZooKeeper: Initiating client connection, connectString=
server.eagle.apache.org:2181 sessionTimeout=10000
watcher=org.apache.curator.ConnectionState@5e8754d3

My question is how do we configure AlertEngine topology to make zookeeper
to be 2000 as well?

Thanks
Edward