perkss
perkss

Reputation: 1067

Storm Cluster only starts when putting the nimbus IP in the supervisors

When creating a Storm cluster it only starts when placing the nimbus node running zookeeper in the Storm.yaml file under supervisor and nimbus.

For example:

storm.zookeeper.servers:
  - "10.1.0.193"
  - "10.1.0.194"

nimbus.host: "10.1.0.193"

Question Is this the correct method? It seems strange to have it classed as a supervisor and the nimbus host.

It seems to run fine though.

Upvotes: 0

Views: 243

Answers (1)

Matthias J. Sax
Matthias J. Sax

Reputation: 62285

Yes. This is correct. Supervisor needs to know Zk and nimbus IP because at startup supervisor register at nimbus (via Zk). All communication between supervisor and nimbus goes through Zk (Zk itself doesn't know nimbus IP either). There is no direct communication involved (because of fault tolerance reasons).

Upvotes: 1

Related Questions