Re: Stop the node but keep the process

2015-11-12 Thread Yakov Zhdanov
Alexander, I dont think this should stop the entire cluster? It should stop local node for particularly that Ignite instance. --Yakov 2015-11-12 14:39 GMT+03:00 Alexandre Boudnik : > You've right. > > grid.close() will shutdown entire cluster. It is way too much. > Take care, > Alexandre "Sasha"

Re: Stop the node but keep the process

2015-11-12 Thread Alexandre Boudnik
You've right. grid.close() will shutdown entire cluster. It is way too much. Take care, Alexandre "Sasha" Boudnik call me via Google Voice: 1(405) BUDNIKA 1(405) 283-6452 On Thu, Nov 12, 2015 at 3:18 AM, Anton Vinogradov wrote: > Alexandre, > > As far as I undesrtand "grid" is an Ignite insta

Re: Stop the node but keep the process

2015-11-12 Thread Anton Vinogradov
Alexandre, As far as I undesrtand "grid" is an Ignite instance. Could you please check that grid.close(); works correct in this case? On Thu, Nov 12, 2015 at 11:03 AM, Alexandre Boudnik < alexander.boud...@gmail.com> wrote: > Hello, > > In my cluster, each node is running as web application. Whe

Stop the node but keep the process

2015-11-12 Thread Alexandre Boudnik
Hello, In my cluster, each node is running as web application. When web application has been stopped and servlet context has been destroyed, it needs to terminate the Ignite node. Unfortunately, grid.cluster().stopNodes(Collections.singletonList(service.grid.cluster().localNode().id())); termina