Re: Cpu usage cannot be improved

2019-02-14 Thread gn01887818
Thank you. I will give it a try. -- Sent from: http://apache-ignite-users.70518.x6.nabble.com/

Re: JDBC Client Node connection number problem

2019-02-14 Thread gn01887818
Thank you. I will give it a try. -- Sent from: http://apache-ignite-users.70518.x6.nabble.com/

Re: Failed to get Cassandra DataSource cause Spring application context wasn't injected into CassandraCacheStoreFactory

2019-02-14 Thread Max Barrios
Hi, 1) to inject Spring Bean to the client config, do you have a working example of do this for Ignite? I am new to Spring and Ignite. I thought I had done this with the below code. What ami I missing? 2) As of today, whether I have a predefined server cache or not, I keep getting this

Apache Ignite starts fast and then become really slow with out of memory

2019-02-14 Thread nadav.hoze
Hey, Guys is this normal…? So many binary readers are opened without reuse? I saw an improvement issue on this https://jira.apache.org/jira/browse/IGNITE-5721 I'm running a simple compute tasks that split around 4K ids to compute job that each one takes from cache bulk of 500

Re: Procedure for scale in and scale out of ignite nodes

2019-02-14 Thread Stephen Darlington
Note that, if you’re using persistence, the recommendation is to use StatefulSets so that the nodes are added/removed in a predictable way. https://apacheignite.readme.io/docs/stateful-deployment Regards, Stephen > On 14 Feb 2019, at

Re: Implementing custom plugin

2019-02-14 Thread vitalys
Unfortunately I can't due to the security restrictions in the office. I have posted all the elements of the project in the previous posts and it's very much a replication of an example outlined at : http://smartkey.co.uk/development/securing-an-apache-ignite-cluster/

Re: Authorization Plugin

2019-02-14 Thread Ilya Kasnacheev
Hello! Please refer to SecurityContextHolder - get(), push(), pop(). When getting null you can just do SecurityContextHolder.get(). Regards, -- Ilya Kasnacheev пт, 8 февр. 2019 г. в 22:45, Sergio Hernández Martínez < serher...@hotmail.com>: > hi everyone, > > I'm developing my own

Re: Ignite SQL : Index on primary Key

2019-02-14 Thread Ilya Kasnacheev
Hello! Can you please show cache/table configuration, original query and its EXPLAIN (all rows)? Regards, -- Ilya Kasnacheev ср, 13 февр. 2019 г. в 18:24, mahesh76private : > But we faced index does not exist exception, when joining with a primary > key > into another table on Ignite 2.7.0.

Re: Procedure for scale in and scale out of ignite nodes

2019-02-14 Thread Ilya Kasnacheev
Hello! If you have backups factor of 1 then you can stop a node without data loss, then wait until rebalance is complete. So you should only remove nodes by one. You can add multiple ones at a time. Unfortunately there is no way to take node out of topology without stopping it. Regards, --

Re: Implementing custom plugin

2019-02-14 Thread Ilya Kasnacheev
Hello! Can you share a sample reproducer project on GitHub? Regards, -- Ilya Kasnacheev чт, 14 февр. 2019 г. в 00:28, vitalys : > The problem is it's not working at all. I am getting this error : > > Corporation Java HotSpot(TM) 64-Bit Server VM 25.171-b11 >

Re: How to set task priority in .net?

2019-02-14 Thread Ilya Kasnacheev
Hello! I'm afraid it is not available in .net and is barely supported in Java itself. Regards, -- Ilya Kasnacheev ср, 13 февр. 2019 г. в 12:54, Max : > Hi, this is a java example > > how task priority can be set.

Re: SQL table - calculating memory size?

2019-02-14 Thread Ilya Kasnacheev
Hello! Basically yes, you can also get rows from cache by using .withKeepBinary(), then cast key/value to BinaryObjectImpl and call length() to get precise object sizes. Regards, -- Ilya Kasnacheev вт, 12 февр. 2019 г. в 21:49, joseheitor : > Hi, > > The capacity-planning docs refer to

Re: JDBC Client Node connection number problem

2019-02-14 Thread Ilya Kasnacheev
Hello! Have you tried streaming mode? Client node has streaming mode and thin client also has streaming mode. It's not the question of number of parallel operations. Regards, -- Ilya Kasnacheev чт, 14 февр. 2019 г. в 05:41, gn01887818 : > Reason: Need to improve write DB performance. > The

Re: Cpu usage cannot be improved

2019-02-14 Thread Ilya Kasnacheev
Hello! Have you tried streaming mode (SET STREAMING)? Alternatively, try to increase queries thread pool size: https://apacheignite.readme.io/docs/thread-pools#section-queries-pool Otherwise, you should collect thread dumps, see if there are pool starvations or excessive locking (or show it for

Re: SQL table - calculating memory size?

2019-02-14 Thread joseheitor
Please help? -- Sent from: http://apache-ignite-users.70518.x6.nabble.com/

Re: Failed to get Cassandra DataSource cause Spring application context wasn't injected into CassandraCacheStoreFactory

2019-02-14 Thread Ilya Kasnacheev
Hello! So this configuration is sent from server node to client node, but it lacks bean to be usable there. So you should either find a way to inject Spring bean to client configuration, or rewrite server cache definition in the same way as you tried to do on client. As I have already said, when

Re: OverlappingFileLockException when restarting client node

2019-02-14 Thread Ilya Kasnacheev
Hello! Can you try specifying different workDir or IGNITE_HOME for different client instances? From the exceptions it seems that workDir is exactly the same? Regards, -- Ilya Kasnacheev ср, 13 февр. 2019 г. в 17:37, Davalb : > Hi, > > you can find the relevant log file entries related to

Re: Capacity planning spreadsheet (RAM)

2019-02-14 Thread Ilya Kasnacheev
Hello! I would assume this factors for OS overhead, Java heap and possibly for checkpoint buffer. Given that RAM is pretty cheap these days, maybe this is excessive but not by very much. Regards, -- Ilya Kasnacheev ср, 13 февр. 2019 г. в 08:43, joseheitor : > Hi, > > The capacity planning

Re: I have a question about Java scan ignite cache

2019-02-14 Thread Stephen Darlington
The filter would run on the server side, so yes, the model class would need to be deployed to there. Alternatively, you could use BinaryObject. Something like this should work: QueryCursor> query = cache.withKeepBinary().query(new ScanQuery(new IgniteBiPredicate() { @Override

Re: I have a question about Java scan ignite cache

2019-02-14 Thread Павлухин Иван
Hi, But what result do you observe in your experiment? ср, 13 февр. 2019 г. в 05:16, chengpei : > > import org.apache.ignite.Ignite; > import org.apache.ignite.IgniteCache; > import org.apache.ignite.Ignition; > import org.apache.ignite.cache.CacheAtomicityMode; > import