Thanks for clarifying that.

Cheers,
Paolo


On Wed, Aug 29, 2018 at 9:12 PM Alex Plehanov <[email protected]>
wrote:

> Method ignite.cluster().active() shows whether or not a cluster was
> activated.
> To check started/stopped state you can use method
> Ignition.state(igniteInstanceName).
>
> ср, 29 авг. 2018 г. в 19:36, Paolo Di Tommaso <[email protected]>:
>
>> Hi Igniters,
>>
>> What's the suggested way to check if the grid is stopped. I'm trying
>>
>> ignite.cluster().active()
>>
>> but it's throwing the following exception.
>>
>>
>>  java.lang.IllegalStateException: Grid is in invalid state to perform
>> this operation. It either not started yet or has already being or have
>> stopped [igniteInstanceName=nextflow, state=STOPPED]
>>
>>
>> p
>>
>

Reply via email to