You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@storm.apache.org by "Mitchell Rathbun (BLOOMBERG/ 731 LEX)" <mr...@bloomberg.net> on 2017/11/17 22:21:56 UTC

JVM Tuning in Local Mode

I am looking to tune the JVM settings for the Storm instance that we are running locally. I know in cluster mode this is done for various nodes by using the childopts property in storm.yaml (worker.childopts, nimbus.childopts, etc.). What should I set for this to work in local mode? Is it necessary for all of these properties to be set even though there is only one process that is run? Or is there a simpler way to do it?

Re: JVM Tuning in Local Mode

Posted by Stig Rohde Døssing <sr...@apache.org>.
As you noted, there is only one process when you run Storm in local mode.
The childopts are only used in cluster mode when new JVMs are spawned (e.g.
supervisor spawning workers). If you need to modify the JVM settings for a
local mode cluster, you can just set the JVM settings for the process you
are starting the LocalCluster from. How you do it will depend on how you
build and run your project.

2017-11-17 23:21 GMT+01:00 Mitchell Rathbun (BLOOMBERG/ 731 LEX) <
mrathbun1@bloomberg.net>:

> I am looking to tune the JVM settings for the Storm instance that we are
> running locally. I know in cluster mode this is done for various nodes by
> using the childopts property in storm.yaml (worker.childopts,
> nimbus.childopts, etc.). What should I set for this to work in local mode?
> Is it necessary for all of these properties to be set even though there is
> only one process that is run? Or is there a simpler way to do it?
>