Re: recoveryBallotBoxes in MvccProcessorImpl memory leak?

2019-11-15 Thread Ivan Pavlukhin
1. MVCC coordinator should not do anything when there is no MVCC caches, actually it should not be active in such case. Basically, MVCC coordinator is needed to have a consistent order between transactions. 2. In 2.7.5 "assigned coordinator" is always selected but it does not mean that it is

Re: Ignite data loss

2019-11-15 Thread Mikael
Hi! So it does not matter what node you restart ? it's always that one that keeps the data ? Are all 4 nodes part of the baseline topology ? I pretty much have the same setup but with 3 nodes and have not had any problems at all, not sure what it could be ? If you turn on all logging you

Ignite data loss

2019-11-15 Thread KR Kumar
Hi Guys - I have a four node cluster with native persistence enabled. Its a partitioned cache and sync rebalance is enabled. When I restart the cluster the first node that starts retain the data and all the other nodes data is deleted and all the ignite data files are turned into 4096 byte files.

Cannot Run Spatial Query Example

2019-11-15 Thread richard.ows...@viasat.com
I'm trying to run the Spatial Query Example from the examples and getting the following error: javax.cache.CacheException: Failed to execute map query on remote node [nodeId=2626e2d2-7c4c-40c4-a307-3cccf946eb68, errMsg=Failed to execute SQL query. Data conversion error converting

Re: Re: Store objects as IBinaryobject in cadche

2019-11-15 Thread Manan Joshi
public void CreateCache(string connectionString, string schema, string table, Dictionary fields, string[] keys) { string query = String.Format("{0} {1}.{2}", "SELECT * FROM", schema, table); string cachename = CacheNameHash(connectionString, schema, table);

Re: Re: Store objects as IBinaryobject in cadche

2019-11-15 Thread Pavel Tupitsyn
Can you please attach full code as text? Can't run a screenshot :) On Fri, Nov 15, 2019 at 10:35 PM Manan Joshi wrote: > Some more help :) > > > [image: image.png] > > I am seeing cache are stored fine in key and in value but when run the > query it throws exception on table not found. Can you

Re: Re: Store objects as IBinaryobject in cadche

2019-11-15 Thread Manan Joshi
Some more help :) [image: image.png] I am seeing cache are stored fine in key and in value but when run the query it throws exception on table not found. Can you help me out what i am missing? On Fri, Nov 15, 2019 at 12:32 PM Pavel Tupitsyn wrote: > Yes, you can use IBinaryObject as a key.

Re: Re: Store objects as IBinaryobject in cadche

2019-11-15 Thread Pavel Tupitsyn
Yes, you can use IBinaryObject as a key. Yes, SQL will work too. On Fri, Nov 15, 2019 at 7:51 PM Manan Joshi wrote: > Paval, > > Thanks you for response. > > I have trying to insert insert data using datastreamer into ignite , Can > you tell me what is the best practice to creating key into

RE: Re: Ignite.Net Read through approach - error : could not create .Net cachestore

2019-11-15 Thread Alexandr Shapkin
Sudhir, If I configure a cacheStore for a clientNode, then using 2.7.6 it becomes initialized twice, for both server and a client.Whereas I checked the same scenario against the master-branch and only a single cache store had created. Also, I have found the IGNITE-1903 that may fix the issue for

Re: Re: Store objects as IBinaryobject in cadche

2019-11-15 Thread Manan Joshi
Paval, Thanks you for response. I have trying to insert insert data using datastreamer into ignite , Can you tell me what is the best practice to creating key into ignite. if i want to create multiple columns of db as key should i use Ibinaryobject to store as object ? will ignite sql engine

Re: Re: Store objects as IBinaryobject in cadche

2019-11-15 Thread Pavel Tupitsyn
When using `dynamic` with Dapper, underlying objects are of type DapperRow, which is also IDictionary, which is easy to convert to BinaryObject. Here is a full example with Dapper query: var dapperQuery = conn.Query("SELECT * FROM Persons"); foreach (IDictionary row in dapperQuery) { var

Re: Re: Store objects as IBinaryobject in cadche

2019-11-15 Thread Ilya Kasnacheev
Hello! You can try using ignite.binary().ToBinary(obj). However, in your case, it makes sense to avoid the intermediate object stage directly and produce BinaryObjects from input data using builder. Regards, -- Ilya Kasnacheev пт, 15 нояб. 2019 г. в 17:15, Manan Joshi : > I am reading the

Re: Re: Store objects as IBinaryobject in cadche

2019-11-15 Thread Manan Joshi
I am reading the data using dapper from the database i am not sure how to convert fromSystem.Collections.Generic.IEnumbrable to Apache.Ignite.Core.Binary.IBinaryObject. Thanks Manan Joshi On Fri, Nov 15, 2019 at 8:46 AM Alexandr Shapkin wrote: > You can also refer to the BinaryModeExample.cs >

RE: Re: Store objects as IBinaryobject in cadche

2019-11-15 Thread Alexandr Shapkin
You can also refer to the BinaryModeExample.cs example and the docs [1] [1] - https://apacheignite-net.readme.io/docs/binary-mode#section-creating-binary-objects From: Ilya KasnacheevSent: Friday, November 15, 2019 4:13 PMTo: user@ignite.apache.orgSubject: Re: Store objects as IBinaryobject in

RE: Re: query if queue exist and get it like getOrCreateCache

2019-11-15 Thread Alexandr Shapkin
Yes, that true in most cases unless you try to call the queue method with a different collection configuration.In such case, an exception will be thrown. From: Narsi Reddy NallamilliSent: Friday, November 15, 2019 10:47 AMTo: user@ignite.apache.orgSubject: Re: query if queue exist and get it like

Re: Store objects as IBinaryobject in cadche

2019-11-15 Thread Ilya Kasnacheev
Hello! You can use BinaryObjectBuilder: https://apacheignite.readme.io/docs/binary-marshaller#section-modifying-binary-objects-using-binaryobjectbuilder However, each variation of its composition is stored in schema cache, which means you should not have too many of those. It is recommended to

Store objects as IBinaryobject in cadche

2019-11-15 Thread Manan Joshi
I would like to store any time of object into cache as IBinaryobject, so i can store cache stored in loosely bind with object. I am working with Ignite .Net. Can someone please suggest something. I need something like MyObject obj = new MyObject(); obj.setFieldA("A"); obj.setFieldB(123);

Re: how to find out if rebalance is in progress in the cluster?

2019-11-15 Thread Ilya Kasnacheev
Hello! I think STARTED will be fired on all nodes, but only demander nodes will spend time before STOPPED is sent. So you should probably listen to events from all nodes, not just to local ones. Regards, -- Ilya Kasnacheev пт, 15 нояб. 2019 г. в 11:18, novacean.alex : > Hi, > > Are these

RE: unsubscribe

2019-11-15 Thread Alexandr Shapkin
Please, send this email to user-unsubscr...@ignite.apache.org   From: Kurt SembaSent: Friday, November 15, 2019 11:44 AMTo: user@ignite.apache.orgSubject: unsubscribe unsubscribe  

RE: Re: Ignite.net get grid / node metrics

2019-11-15 Thread Alexandr Shapkin
> What are API ways to get details for individual nodes ?Please, inspect public API [1] and the Apache Ignite documentation.For sample, you can set a custom attribute to a node and request it later [2]. >is gridgain a licensed versionYes, it’s free to use. [1]

RE: Re: How do we delete caches?

2019-11-15 Thread Alexandr Shapkin
> How do we delete caches?  What about DROP TABLE [1]? This should remove both a table and a cache. > Is there a way to run the SQL query that doesn't require us to first get orcreate an existing cache You can use a thin client for that, please, review the JDBC example.With this approach, the

unsubscribe

2019-11-15 Thread Kurt Semba
unsubscribe

Re: Question about memory when uploading CSV using .NET DataStreamer

2019-11-15 Thread Pavel Tupitsyn
I've ran your code under .NET and Java memory profilers. In short, everything is working fine - nothing to worry about. *DotMemory*: [image: image.png] .NET managed memory usage is under 1Mb, unmanaged memory is much higher - that is what Java part allocates. *jvisualvm*: [image: image.png]

unsubscribe

2019-11-15 Thread Raghavan, Aravind
unsubscribe

Re: how to find out if rebalance is in progress in the cluster?

2019-11-15 Thread novacean.alex
Hi, Are these events published on every node if rebalance is happening, including the supplier node for the rebalance process? My use case is something like this: - when one node gets restarted, the first thing that is fired at startup is the init container which would have an ignite client