Re: Cannot Run Spatial Query Example

2019-11-19 Thread Humphrey
Looks like this project is based on a very old version of Ignite. 1.7.0 -- Sent from: http://apache-ignite-users.70518.x6.nabble.com/

Re: Baseline topology - Data inconsistency

2019-11-19 Thread Ivan Pavlukhin
Expected behavior is that there will be one merged cluster. As my understanding goes if you have a net split (M5 cannot reach neither node from M1 to M4 by network) than M5 can start in separate cluster alone. I hope that such cluster will be inactive, but you definitely should check it manually.

Re: Cannot Run Spatial Query Example

2019-11-19 Thread Humphrey
I have a working example for you with latest version of Ignite. Had to take off the index=true from the MapPoint. I used Lombok, so make sure you have lombok plugin installed in your IDE. Hope this helps you. geo-ignite-example-working.zip

Re: Cannot Run Spatial Query Example

2019-11-19 Thread Humphrey
I have a working example for you with latest version of Ignite. Had to take off the index=true from the MapPoint. I used Lombok, so make sure you have lombok plugin installed in your IDE. Hope this helps you. geo-ignite-example-working.zip

Re: Cannot Run Spatial Query Example

2019-11-19 Thread Humphrey
If I have time tomorrow I’ll try with more nodes in cluster. Do you have a small reproducible project? -- Sent from: http://apache-ignite-users.70518.x6.nabble.com/

Re: Cannot Run Spatial Query Example

2019-11-19 Thread richard.ows...@viasat.com
Yes, thank you for looking at this. I just made some basic mods to the AppConfig to run in client mode and connect to the cluster: package com.example.geoigniteexample.config; import org.apache.ignite.Ignite; import org.apache.ignite.Ignition; import

Re: Baseline topology - Data inconsistency

2019-11-19 Thread userx
So in the case which you highlighted where M5 starts in a different cluster because of net issues. Now in such a case there is a possibility that if M5 tries to go in the first cluster (M1 to M4), there is an exception related to "Mismatch of hashid of M5". So what happens when M1 receives

Re: Baseline topology - Data inconsistency

2019-11-19 Thread Ivan Pavlukhin
Sorry did not get the questions from the last message. Could you please rephrase? вт, 19 нояб. 2019 г. в 14:43, userx : > > So in the case which you highlighted where M5 starts in a different cluster > because of net issues. Now in such a case there is a possibility that if M5 > tries to go in

Re: Baseline topology - Data inconsistency

2019-11-19 Thread userx
Sorry if the questions wasn't clear. What I wanted to ask is that say, if M5 comes up in a different cluster, so eventually there will be two clusters Cluster 1 :- M1 to M4 Cluster 2:- M5 Then if they share a common cache (before M5 went down) and there are two client requests Cluster 1:-

Re: Re: Store objects as IBinaryobject in cadche

2019-11-19 Thread Ilya Kasnacheev
Hello! Your code is mostly sound, but there are a few issues of understanding. Please see my replies inline. пт, 15 нояб. 2019 г. в 22:43, Manan Joshi : > public void CreateCache(string connectionString, string schema, string > table, Dictionary fields, string[] keys) > { >

Re: Re: Store objects as IBinaryobject in cadche

2019-11-19 Thread Ilya Kasnacheev
Hello again! A tiny addendum - you can mark key fields with QueryField.IsKeyField and forget what I have said about XML and stuff. Regards, -- Ilya Kasnacheev вт, 19 нояб. 2019 г. в 19:36, Ilya Kasnacheev : > Hello! > > Your code is mostly sound, but there are a few issues of understanding.

Re: Cannot Run Spatial Query Example

2019-11-19 Thread richard.ows...@viasat.com
Thank you for the code sample. I can get this to run, but I cannot get it to work when connecting to a remote cluster. That is when I receive the IgniteCheckedException. I have added the following jars to the remote nodes /libs folder: ignite-geospatial-2.7.2.jar jts-1.13.jar Here's the

Re: Baseline topology - Data inconsistency

2019-11-19 Thread Ivan Pavlukhin
As I wrote before. I hope that split M5 cluster will start as inactive. You can think that it is an administrator responsibility to check that there is no split clusters upon activation. If both clusters are active, yes they will act separately and data will diverge. вт, 19 нояб. 2019 г. в 16:46,

Update cache values in cache

2019-11-19 Thread Manan Joshi
I am trying to update the values of existing cache i am using IDataStremer to insert data in the cache, I am updating complex objects so SQL is not an option here is snappit of the code.. Can someone suggest something it will be very helpful. public void UpdateMetaData(CacheMetaData metaData)