Re: Getting Remote node has peer class loading enabled flag different from local

2020-04-22 Thread Evgenii Zhuravlev
yes ср, 22 апр. 2020 г. в 18:31, John Smith : > So client enabled nodes nee to set it also? > > On Wed, 22 Apr 2020 at 19:52, Evgenii Zhuravlev > wrote: > >> Hi John, >> >> Yes, you're right, this flag should be the same on all nodes in the >> cluster. This message prints, which node has

Re: Getting Remote node has peer class loading enabled flag different from local

2020-04-22 Thread John Smith
So client enabled nodes nee to set it also? On Wed, 22 Apr 2020 at 19:52, Evgenii Zhuravlev wrote: > Hi John, > > Yes, you're right, this flag should be the same on all nodes in the > cluster. This message prints, which node has different value for tis flag, > so you can find it. > > Evgenii >

Re: Getting Remote node has peer class loading enabled flag different from local

2020-04-22 Thread Evgenii Zhuravlev
Hi John, Yes, you're right, this flag should be the same on all nodes in the cluster. This message prints, which node has different value for tis flag, so you can find it. Evgenii ср, 22 апр. 2020 г. в 16:22, John Smith : > Hi, getting the message in the subject line > > I'm pretty sure I have

Getting Remote node has peer class loading enabled flag different from local

2020-04-22 Thread John Smith
Hi, getting the message in the subject line I'm pretty sure I have all my nodes enabled with I'm guessing this cannot work with client enabled nodes only? igniteConfig.setClientMode(true);

SQL MERGE INTO with SELECT UNION

2020-04-22 Thread Courtney Robinson
My aim is to perform an upsert. Originally, my query was just doing a MERGE INTO with no UNION. Unfortunately Ignite if a row already exists, Ignite DOES NOT merge, it replaces the row. So any columns from the old row that are not included in the new MERGE will be set to NULL at the end of the

Re: Subquery or Joins query not returning correct result Ignite V2.7.6

2020-04-22 Thread Evgenii Zhuravlev
Hi, Can you share small reproducer project? Evgenii пн, 20 апр. 2020 г. в 23:58, siva : > Hi All, > I am using Apache Ignite V2.7.6 .Net client And Server. > -Tables(*Company*,*CompanyTypes*) creating with QueryEntities at the time > cache configuration. > > I have two model

Re: Is there a QUEUE based messaging?

2020-04-22 Thread akorensh
You can use topic messaging, but vary the specific nodes receiving the message: see: https://ignite.apache.org/releases/latest/javadoc/org/apache/ignite/cluster/ClusterGroup.html and: https://apacheignite.readme.io/docs/messaging#section--example- set an attribute on the node you want to receive

Re[2]: General error: "java.lang.ArrayIndexOutOfBoundsException: 32768"

2020-04-22 Thread Василь Тирпак
Ok Отправлено из Iphone среда, 22 апреля 2020 г., 18:11 +0200 от intelligentcodem...@gmail.com : >Thank you for your reply, i use lastest version, but it from gridgain maven >nexus. >I'm not have other node, and not configure affinity, just one server mode node >and a client node. >I

Re: General error: "java.lang.ArrayIndexOutOfBoundsException: 32768"

2020-04-22 Thread 张立鑫
Hello, Thanks for your proposal, but i get this error for every full new node. I can't do the next things. Regards Ilya Kasnacheev 于2020年4月23日周四 上午12:30写道: > Hello! > > If you have sufficient backups you can remove persistent data from that > node, restart it and re-add it to topology. > >

Re: Best way to track if key was read more than X times?

2020-04-22 Thread John Smith
Hi, akonresh understood, but then I would need another cache to keep track of those counts. Ilya would a EntryProcessor allow for that with the invoke? Because creating a wrapper I still need to track the counts. On Wed, 22 Apr 2020 at 12:10, Ilya Kasnacheev wrote: > Hello! > > I actually

Re: General error: "java.lang.ArrayIndexOutOfBoundsException: 32768"

2020-04-22 Thread 张立鑫
Thank you for your reply, i use lastest version, but it from gridgain maven nexus. I'm not have other node, and not configure affinity, just one server mode node and a client node. I have a lot of query, delete,update, this should make B+Tree change frequently. And i use SQL also. I'm not sure

Re: Best way to track if key was read more than X times?

2020-04-22 Thread Ilya Kasnacheev
Hello! I actually think that the optimal way is to have your own wrapper API which is only source of cache gets and which does this accounting under the hood. Then it can invoke the same cache entry to keep track of number of reads. Regards, -- Ilya Kasnacheev вт, 21 апр. 2020 г. в 22:00,

Re: Is strong consistency supported in SQL mode?

2020-04-22 Thread Ilya Kasnacheev
Hello! Our SQL is strongly consistent, but it is not transactional. Regards, -- Ilya Kasnacheev вт, 21 апр. 2020 г. в 10:59, priyank : > Hi, > I see according to this article: > > https://www.gridgain.com/resources/blog/apache-cassandra-vs-apache-ignite-strong-consistency-and-transactions >

Re: Automatically generate Code using java reflection

2020-04-22 Thread Ilya Kasnacheev
Hello! This code is unrelated to your issue. It is needed for platform interoperability. Regards, -- Ilya Kasnacheev вт, 14 апр. 2020 г. в 19:13, Anthony : > Evgenii, > It also came to me if there is a similar code in C++ for the following > java code as I did not find it. If not, Does it

Re: Best way to track if key was read more than X times?

2020-04-22 Thread akorensh
Hi, You can try it w/the EntryProcessor. With Events you would "listen" for the get operation, and when the count of a certain key gets to a specified threshold, take the appropriate action. Thanks, Alex -- Sent from: http://apache-ignite-users.70518.x6.nabble.com/

Re: General error: "java.lang.ArrayIndexOutOfBoundsException: 32768"

2020-04-22 Thread Ilya Kasnacheev
Hello! What is the version used? I think there is some weirdness in affinity, such as, Ignite tries to access non-existent partition. Do you have any specific affinity configuration of your caches? You also get the "B+Tree is corrupted" error, it may mean that your persistent store is

Re: Oracle BLOB, CLOB data type mapping with Ignite cache

2020-04-22 Thread Ilya Kasnacheev
Hello! I assume you are talking about CacheJdbcPojoStore. Please keep in mind that it's just an implementation of CacheStore and you can have your own implementation (which will then support any types you want). For CacheJdbcPojoStore you can supply your own transformer via setTransformer(),

Enabling default persistence on existing ignite cluster

2020-04-22 Thread Sebastian Sindelar
Hallo. Our application uses ignite to share data between different services. We habe a couple of caches und queues. Currently some of the caches are persisted using a second data region. This works fine. A new requiredment is to persist the items in the queues. Because queues always use the