Re: CacheJdbcPojoStoreExampleFactory for Maria DB

2016-09-04 Thread seyeony
Hi, I found the MariaDBDataSource from internet and modified the example code as follows. private static final class CacheJdbcPojoStoreExampleFactory extends CacheJdbcPojoStoreFactory { @Override public CacheJdbcPojoStore create() { try { ds = new MariaDbDat

Re: Cache Problems

2016-09-04 Thread Level D
Hi Val, Thanks a lot for your reply. For the third question, I have a case. I buckup a cache in non-heap memory with some updates eveyday. When it's finished, I destory the former cache. But system memory is used more and more. Here's a url. https://issues.apache.org/jira/browse/IGNITE-2833

Re: Spark stage was hang via ignite

2016-09-04 Thread percent620
We have two executors that running very slowly... 1 -- View this message in context: http://apache-ignite-users.70518.x6.nabble.com/Spark-stage-was-hang-via-ignite-tp7485p7525.html Sent from the Apache Ignite Users mailin

Re: Reassign partitions

2016-09-04 Thread wetnose
AffinityFunction is called only if a server node joins of leaves the topology. But I cannot make Ignite call it at any time. -- View this message in context: http://apache-ignite-users.70518.x6.nabble.com/Reassign-partitions-tp7461p7524.html Sent from the Apache Ignite Users mailing list archiv

Re: Reassign partitions

2016-09-04 Thread wetnose
If I add a new node to a cluster I want to be able to move some cache partitions to it. The node is empty and its storage has no records. Ignite can move a partition with all loaded entries to the new node and write these entries to the node's storage. But enries that are not loaded are ignored. I