Can we define this on storm.yaml for each topology?

--
Kushan Maskey
817.403.7500
M. Miller & Associates <http://mmillerassociates.com/>
[email protected]

On Thu, Dec 4, 2014 at 11:03 AM, Harsha <[email protected]> wrote:

>  Kushan,
>          You won't be able to modify supervisor_slots_ports from the
> topology config.    Any reason for doing this in topology as you can define
> this in storm.yaml.
> -Harsha
>
>
> On Thu, Dec 4, 2014, at 08:58 AM, Kushan Maskey wrote:
>
> Is there a way I can set supervisor_slots_port in the config in the
> topology class? I tried to set it up like below
>
> *config.put(Config.SUPERVISOR_SLOTS_PORTS, 7000);*
>
> but I get error as below.
>
> *InvalidTopologyException(msg:Field supervisor.slots.ports must be an
> Iterable of java.lang.Number*
> Thanks.
>
> --
> Kushan Maskey
> 817.403.7500
> M. Miller & Associates <http://mmillerassociates.com/>
> [email protected]
>
>
>

Reply via email to