when cluster restart then client need deactived

2019-04-17 Thread hulitao198758
When the xml configuration file of the ignite cluster changes, the cluster stops, and the cluster needs to be restarted. After the startup, because the cluster is configured with the baseline, the cluster is automatically activated after the restart, but the client connection will be, prompting dea

Re: CacheContinuousQuery memory use and best practices

2019-04-17 Thread johnny_rotten
Also some details on the cache config: atomicityMode=TRANSACTIONAL cacheMode = PARTITIONED backups=1 .. the rest are default. Cache value types are binary objects. So here's a simpler question, if my client node does a cache.put(key=String, value=BinaryObject) 100 times on the same key, when are

Re: Can we use uuid generator in sql?

2019-04-17 Thread yangjiajun
Hello.Thanks for reply. It works for me. ilya.kasnacheev wrote > Hello! > > Have you tried RANDOM_UUID()? > > Regards, > -- > Ilya Kasnacheev > > > пн, 15 апр. 2019 г. в 15:02, yangjiajun < > 1371549332@ >>: > >> Hello! >> >> Is there any sql functions to generate uuids? >> >> >> >> -- >

Re: Ignite DataStreamer Memory Problems

2019-04-17 Thread kellan
So I've done a heap dump and recorded heap metrics while running my DataStreamers and the heap doesn't appear to be the problem here. Ignite operates normally for several hours without the heap size ever reaching its max. My durable memory also seems to be behaving as expected. While looking at the

Can't use loadCache with IgniteBiPredicate

2019-04-17 Thread Michael Hubbard
I'm trying to selectively initialize pieces of my IgniteCache that is backed by a postgres database. When I use loadCache() with no arguments, the entire cache loads fine. However, the table I'm loading is very large, and I want to use an IgniteBiPredicate to only load the pieces I care about.

Re: Can't use loadCache with IgniteBiPredicate

2019-04-17 Thread Maxim.Pudov
You might used the method org.apache.ignite.IgniteCache#withKeepBinary [1] that's why your object wasn't deserialised. [1] https://ignite.apache.org/releases/latest/javadoc/org/apache/ignite/IgniteCache.html#withKeepBinary-- Max. -- Sent from: http://apache-ignite-users.70518.x6.nabble.com/

Re: when cluster restart then client need deactived

2019-04-17 Thread Maxim.Pudov
It hard to tell from your explanation what is the exact problem. Is it the client which cannot connect to the cluster while it is the middle of the activation process? Anyway, could you share the logs from all nodes (client logs as well)? It will help to understand the problem. -- Sent from: htt

Re: Read/query TPS is decreasing after enabling mix load i.e. write services

2019-04-17 Thread Maxim.Pudov
Hi, could you share a reproducer of your problem? We are missing a lot of information here. The configuration of your nodes, cache configurations, what API you use to query and update the data. -- Sent from: http://apache-ignite-users.70518.x6.nabble.com/

Re: Strange behavior with tables partitioned and replicated, and indexes on join

2019-04-17 Thread Maxim.Pudov
Hi, check out this article: https://apacheignite-sql.readme.io/docs/distributed-joins#section-non-collocated-joins -- Sent from: http://apache-ignite-users.70518.x6.nabble.com/

Re: Can't use loadCache with IgniteBiPredicate

2019-04-17 Thread Michael Hubbard
I tried setting storeKeepBinary to both "true" and "false" in my xml config for the cache, neither made a difference. Is this the right way to set it? Before this post, I wasn't setting it at all, so I'm assuming it was on whatever the default value is. -- Sent from: http://apache-

Re: Strange behavior with tables partitioned and replicated, and indexes on join

2019-04-17 Thread yann Blazart
Hi. Thanks for answer. But it doesn't explain my case Le mer. 17 avr. 2019 à 16:56, Maxim.Pudov a écrit : > Hi, check out this article: > > https://apacheignite-sql.readme.io/docs/distributed-joins#section-non-collocated-joins > > > > -- > Sent from: http://apache-ignite-users.70518.x6.nabble.c

Re: Can't use loadCache with IgniteBiPredicate

2019-04-17 Thread Michael Hubbard
This is the stacktrace for the exception: Caused by: java.lang.ClassCastException: org.apache.ignite.internal.binary.BinaryObjectImpl cannot be cast to com.sms.Foo at com.sms.flexnet.maintenance.data.IgniteFooDAO$3.apply(IgniteFooDAO.java:164) at org.apache.ignite.internal.processo

Re: Can't use loadCache with IgniteBiPredicate

2019-04-17 Thread Michael Hubbard
I seem to have found the answer. Changing the storeKeepBinary field didn't seem to help, but I was able to change things by going to a generic IgniteBiPredicate and casting inside the apply method. public void initFoo(int key){ IgniteCache myCache = getCache(Foo.class); if (myCache != null)

Re: Strange behavior with tables partitioned and replicated, and indexes on join

2019-04-17 Thread yann Blazart
Sorry for short answer. Document just say that if the join condition is not pk or affinity, it broadcast request instead of unicast. In my case, i use indexed columns, but I receive exception. Regards Le mer. 17 avr. 2019 à 18:36, yann Blazart a écrit : > Hi. Thanks for answer. > > But it doe

Re: Free Network Segmentation (aka split brain problem) plugin available

2019-04-17 Thread joseheitor
Hi Luqman, Does your plugin just detect a segmentation occurrence? Or does it also resolve the split-brain condition? Thanks, Jose -- Sent from: http://apache-ignite-users.70518.x6.nabble.com/