Try this:

conf.put(Config.TOPOLOGY_WORKER_CHILDOPTS, WORKER_OPTS);

Your WORKER_OPTS should be appended to WORKER_CHILDOPTS.
--
Derek

On 2/18/14, 1:47, Link Wang wrote:
Dear all,
I want to specify some worker.childopts for my topology inner it's code, and I 
use this way:
conf.put(Config.WORKER_CHILDOPTS, WORKER_OPTS);
but I found it doesn't work.

I don't use storm.yaml file to set worker.childopts, because the memory 
requirement of my topologies are widely different.

is there some one encounter the same problem?

Reply via email to