Crashes when running Apache Ignite as a sever node together with cpp code

2020-11-24 Thread Wolfgang Meyerle
Hi, I tried to run apache ignite as given by example from the website as a server node attached to my cpp program. Basically it works fine but debugging is not possible anymore which is a show stopper. The application crashes everytime when the program is debugged in QT. Any suggestions?

Re: C# CacheStoreAdapter - Customizing Load, LoadCache methods

2020-11-24 Thread vtchernyi
Hi,may be my recent tutorial [1] will shed some light to the question. The story is about my experience in loading big tables to Ignite. Hope it will help despite the Java language insideRegards,Vladimir[1] 

Re: Add node automatically to Ignite

2020-11-24 Thread Amit Pandey
Just to add that the issue is that all our caches are replicated and it seems that when we hit the new node we dont get data replicated at all. Regards On Wed, Nov 25, 2020 at 1:29 AM Amit Pandey wrote: > Hi, > > I have a cluster of Ignite nodes running with persistence with docker. So > we

Add node automatically to Ignite

2020-11-24 Thread Amit Pandey
Hi, I have a cluster of Ignite nodes running with persistence with docker. So we activate the cluster programmatically the first time and it works fine. However , when a node fails and we have to add a new node in its place we are seeing that its not joining the cluster. is there anyway to fix

Re: Query on implementing GridSecurityProcessor

2020-11-24 Thread Vishwas Bm
The uuid is set randomly and as we are not allowed to update the node attributes, I am not sure how this can be implemented using node attributes. Any idea on how this can be achieved ? On Sun, 22 Nov, 2020, 19:22 vbm, wrote: > Hi, > > We have implemented the security plugin by implementing

Re: C# CacheStoreAdapter - Customizing Load, LoadCache methods

2020-11-24 Thread Pavel Tupitsyn
Run your application in the same data center as the database, so that network costs are minimized. On Tue, Nov 24, 2020 at 8:54 PM ABDumalagan wrote: > I see - do you have any suggestions of how I can work around the bottleneck > and speed up data loading into cache? > > > > -- > Sent from:

Re: C# CacheStoreAdapter - Customizing Load, LoadCache methods

2020-11-24 Thread ABDumalagan
I see - do you have any suggestions of how I can work around the bottleneck and speed up data loading into cache? -- Sent from: http://apache-ignite-users.70518.x6.nabble.com/

Re: C# CacheStoreAdapter - Customizing Load, LoadCache methods

2020-11-24 Thread Pavel Tupitsyn
The code looks ok to me. Since the query is so simple, most likely your connection to the DB is the bottleneck. On Tue, Nov 24, 2020 at 8:30 PM ABDumalagan wrote: > So I am currently running this > > code to just pull

Re: C# CacheStoreAdapter - Customizing Load, LoadCache methods

2020-11-24 Thread ABDumalagan
So I am currently running this code to just pull all the rows from the underlying database, and the diagnostic session is hitting 20 mins and counting - Is this definitively a database issue or is it in the way I've

Re: C# CacheStoreAdapter - Customizing Load, LoadCache methods

2020-11-24 Thread Pavel Tupitsyn
> how would I check to see if the underlying database is a bottleneck Check how much time it takes to read 500 000 rows from there, without loading into Ignite. Or run a profiler. On Tue, Nov 24, 2020 at 6:25 PM ABDumalagan wrote: > I'll try a local scenario and stream with fake data right now,

Re: Thin Client connection not working...

2020-11-24 Thread Ilya Kasnacheev
Hello! I have just tried compiling and running this program, and it ran without any errors (Ubuntu 20.02) Regards, -- Ilya Kasnacheev вт, 17 нояб. 2020 г. в 22:28, Wolfgang Meyerle < wolfgang.meye...@googlemail.com>: > Hi, > > sorry for the late reply but it was getting too late yesterday

Re: C# CacheStoreAdapter - Customizing Load, LoadCache methods

2020-11-24 Thread ABDumalagan
I'll try a local scenario and stream with fake data right now, but how would I check to see if the underlying database is a bottleneck? -- Sent from: http://apache-ignite-users.70518.x6.nabble.com/

Re: Out-of-memory issue on single node cache with durable persistence

2020-11-24 Thread Ilya Kasnacheev
Hello! It seems that you have run out of available memory. I.e., your operating system could not allocate more memory even though the demand was still in the range permitted by data region configuration. How much RAM do you have on that machine? That you still have heap left is irrelevant here,

Re: C# CacheStoreAdapter - Customizing Load, LoadCache methods

2020-11-24 Thread Pavel Tupitsyn
1) Yes 2) On my local machine with 2 nodes I can stream 500 000 entries in *2* seconds (I tried to recreate the Associate class with some fake data). Are you sure that Oracle is not a bottleneck? Can you try a local scenario with fake data - how much time does it take? On Tue, Nov 24, 2020 at

Re: C# CacheStoreAdapter - Customizing Load, LoadCache methods

2020-11-24 Thread ABDumalagan
I see - I'm actually going to scrap the LoadCache approach and implement your suggestion of DataStream - I just have a couple of questions regarding that: 1) Is it possible to use both DataStream and CacheStoreFactory together? 2) Right now, my Program.cs

Re: C# CacheStoreAdapter - Customizing Load, LoadCache methods

2020-11-24 Thread Pavel Tupitsyn
NullPointerException usually indicates a bug. Please provide full exception stack trace. On Tue, Nov 24, 2020 at 4:03 PM ABDumalagan wrote: > Also, I tried changing the code from cache.LocalLoadCache(null) to > cache.LoadCache(null) and I received a NullPointerException. > > Am I supposed to

Re: C# CacheStoreAdapter - Customizing Load, LoadCache methods

2020-11-24 Thread Pavel Tupitsyn
DataStreamer is the best approach for loading large amounts of data into Ignite On Tue, Nov 24, 2020 at 3:50 PM ABDumalagan wrote: > I see, that makes sense - I actually have a question regarding that: > > If I wanted to store a whole table from an underlying database as > key-value pairs in