Oh yeah... we are using storm 0.9.5

From: Garcia-Contractor, Joseph (CORP) [mailto:[email protected]]
Sent: Tuesday, October 27, 2015 4:21 PM
To: [email protected]
Cc: Saraswat-Contractor, Umakant (CORP)
Subject: passing arguements to storm topology at load

So we have ourselves a topology that we need to pass an external variable to on 
load of the jar file.  We thought that the way to do this was to add additional 
arguments to storm.yaml for the worker:

worker.childopts: "-Xmx805306368 -Dmongodb.hosts=mongo.host 
-Dmongodb.ports=27017"

However the topology does not appear to be picking this up.

We also tried adding those arguments to the options to nimbus.childopts and 
supervisor.childopts.

Also tried from the command line of storm:

  storm jar mytopo.jar my.topo.foo.bar mytopo -Dmongodb.hosts=mongo.host 
-Dmongodb.ports=27017

Is there a way to do this?

Joe
________________________________
This message and any attachments are intended only for the use of the addressee 
and may contain information that is privileged and confidential. If the reader 
of the message is not the intended recipient or an authorized representative of 
the intended recipient, you are hereby notified that any dissemination of this 
communication is strictly prohibited. If you have received this communication 
in error, notify the sender immediately by return email and delete the message 
and any attachments from your system.

Reply via email to