You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@storm.apache.org by Vitaly Danilovich <vi...@orchestra.group> on 2020/11/24 12:16:17 UTC

Memory setting for each Storm topology

Hi guys,

We have Strom 1.1.0 managed by Ambari 2.6 and we running 2 different 
topology on Storm.

We set worker.childopts to "-Xmx7168m _JAAS_PLACEHOLDER", but that 
setting for all topology.

And we want to manage memory setting for each topology using Storm 
settings.

Is that possible?

Thanks you in advance,

Vitali


Re: Memory setting for each Storm topology

Posted by Rui Abreu <ru...@gmail.com>.
Hello Vitaly,

There was a similar question a few days ago. It seems setting
Config.TOPOLOGY_WORKER_CHILDOPTS in the topology configuration solves the
problem.

Thanks Rui, but my idea is to change it on a per topology basis. The
> storm.yaml would mean changing it globally.
> However, after quite some more testing I have figured that using
> conf.put(Config.TOPOLOGY_WORKER_CHILDOPTS, "-XX:+UseG1GC");


On Tue, 24 Nov 2020 at 12:16, Vitaly Danilovich
<vi...@orchestra.group> wrote:

> Hi guys,
>
> We have Strom 1.1.0 managed by Ambari 2.6 and we running 2 different
> topology on Storm.
>
> We set worker.childopts to "-Xmx7168m _JAAS_PLACEHOLDER", but that
> setting for all topology.
>
> And we want to manage memory setting for each topology using Storm
> settings.
>
> Is that possible?
>
> Thanks you in advance,
>
> Vitali
>
>