You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@storm.apache.org by Sajith <sa...@gmail.com> on 2014/05/22 15:26:07 UTC

Is it possible to start a supervisor/nimbus programmatically

Hi all,

Is it possible to start supervisor or a nimbus programmatically? Does storm
provide an API to do so?

Thanks,
Sajith.

Re: Is it possible to start a supervisor/nimbus programmatically

Posted by Sean Zhong <cl...@gmail.com>.
If you are talking about starting nimbus/supervisor distributely on the
cluster, you should try storm-yarn, there is API to do so.

If you are talking about starting nimbus/supervisor on a host jvm process,
after compilation, there will be
class backtype.storm.scheduler.ISupervisor.supervisor, there is a static
main() function, you can call it directly as regular java class.

Sean


On Thu, May 22, 2014 at 9:28 PM, padma priya chitturi <
padmapriya30@gmail.com> wrote:

> No, thers is no API to start the daemons. Infact u can place the commands
> that would invoke the daemons in a separate file and could invoke it using
> either java or python
>
>
> On Thu, May 22, 2014 at 6:56 PM, Sajith <sa...@gmail.com> wrote:
>
>> Hi all,
>>
>> Is it possible to start supervisor or a nimbus programmatically? Does
>> storm provide an API to do so?
>>
>> Thanks,
>> Sajith.
>>
>
>

Re: Is it possible to start a supervisor/nimbus programmatically

Posted by padma priya chitturi <pa...@gmail.com>.
No, thers is no API to start the daemons. Infact u can place the commands
that would invoke the daemons in a separate file and could invoke it using
either java or python


On Thu, May 22, 2014 at 6:56 PM, Sajith <sa...@gmail.com> wrote:

> Hi all,
>
> Is it possible to start supervisor or a nimbus programmatically? Does
> storm provide an API to do so?
>
> Thanks,
> Sajith.
>