Re: service deploy cluster singleton lock application

2018-07-26 Thread Evgenii Zhuravlev
Looks like TaskLockWatcher is an inner class, isn't it? When you deploy service, an instance of it will be serialized and saved to cache. If this class in inner, most possible it serializes an outer class too. Try to create not nested Class for Service. 2018-07-26 18:14 GMT+03:00 sergey.dolinkov

Re: service deploy cluster singleton lock application

2018-07-26 Thread sergey.dolinkov
upload as files locked-node-treaddump.txt worked-node-threaddump.txt -- Sent from:

Re: service deploy cluster singleton lock application

2018-07-26 Thread sergey.dolinkov
After a little analysis of the source code, I found out that when I called the method deployClusterSingleton I get GridServiceDeploymentCompoundFuture and it is never complite. -- Sent from: http://apache-ignite-users.70518.x6.nabble.com/

Re: service deploy cluster singleton lock application

2018-07-26 Thread Evgenii Zhuravlev
Well, then, do you have a mall reproducer for your issue? Or at least thread dumps, that I've mentioned in my previous message? Evgenii 2018-07-26 13:19 GMT+03:00 sergey.dolinkov : > This is an example. > The original code is more complicated. > For configuration, we convert megabytes to bytes.

Re: service deploy cluster singleton lock application

2018-07-26 Thread sergey.dolinkov
This is an example. The original code is more complicated. For configuration, we convert megabytes to bytes. In this example, there are no errors in the logs. -- Sent from: http://apache-ignite-users.70518.x6.nabble.com/

Re: service deploy cluster singleton lock application

2018-07-26 Thread ezhuravlev
Hi, As per java doc of DataRegionConfiguration.setMaxSize - maxSize Maximum data region size in bytes. For sure, it won't work properly with such a small memory size(128 and 1024 bytes). Ignite even have validation for this parameter and it should be not less than 10mb at least. Have you checked

service deploy cluster singleton lock application

2018-07-25 Thread sergey.dolinkov
I try create spring java application with apache ignite inside. When application startup it deploy service(cluster singleton) to cluster. (it`s ok) But when i start second node which deploy this service too it is locked. why this hapends ? Apache Ignite 2.5.0 code of service class: public