Re: persistent store

2016-09-12 Thread seyeony
Hi val, Thank you for your response. I mean 'stream file' is a linux regular file, in which a pojo can be stored. I loaded 200,000 Person objects from MariaDB. This was fast. After load, I deleted all object in MariaDB via 'delete from Person' I modefied the salary value from example and tried to

Transaction tx = ignite.transactions().txStart() and tx.commit()

2016-09-09 Thread seyeony
Hi, During the persistent store test (CacheAutoStoreExample.java from examples), I removed (commented out) the Transaction statemements as follows: //try (Transaction tx = ignite.transactions().txStart()) { ... ... //

Re: CacheJdbcPojoStore with MariaDB

2016-09-08 Thread seyeony
Hi Alexey, I gave more heap and I was able to load the whole dataset in cache. I have another questions. Eventhough I used OFFHEAP_TIERED in the configuration, why do I need more heap? Should I find the right heap size by trial and error or is there any calculation method? Should I give same heap

Re: CacheJdbcPojoStore with MariaDB

2016-09-07 Thread seyeony
Hi Alexey, After a while, i got some logs more as follows: logs from node-1 === Exception in thread "mgmt-#69%null%" java.lang.OutOfMemoryError: GC overhead limit exceeded logs from node-2 === [18:22:11,333][SEVERE][mgmt-#67%null%][GridJobWorker] Failed to execute job

Re: CacheJdbcPojoStore with MariaDB

2016-09-06 Thread seyeony
Hi Alexey, Thank you for your advices. I tried to test with the latest night build as you guided. Also I replaced the BasicJdbcDialect with MySQLDialect. It looked much better. However when I tested with large datasets, I got the message as follows. I guess I need more memory. By the way, what

CacheJdbcPojoStoreExampleFactory for Maria DB

2016-09-02 Thread seyeony
Hi, I'm learning now apache ignite. During test I met the following isssues. In the CacheAutoStoreExample, I'd like to modify to load form not H2 but Maria-DB. /** * Example store factory. */ private static final class CacheJdbcPojoStoreExampleFactory extends

Re: jdbc connection URL with more than 1 cache

2016-09-01 Thread seyeony
i was wrong. i solved with cross-cache-query functions -sy -- View this message in context: http://apache-ignite-users.70518.x6.nabble.com/jdbc-connection-URL-with-more-than-1-cache-tp7446p7451.html Sent from the Apache Ignite Users mailing list archive at Nabble.com.

jdbc connection URL with more than 1 cache

2016-09-01 Thread seyeony
hi, i'm learing and testing ignite for feasibility. during test i met the following problem. when i define jdbc connection url with 2 params (2 caches) as follows, i got errors at executeQuery. however if i defie just 1 cache, it works fine. try {

Re: data loss occurred sometimes when configured primary-backups with full_async

2016-08-29 Thread seyeony
hi alexey, thank you very much for your valuable advice. it works fine. -seyeon -- View this message in context: http://apache-ignite-users.70518.x6.nabble.com/data-loss-occurred-sometimes-when-configured-primary-backups-with-full-async-tp7297p7394.html Sent from the Apache Ignite Users

Re: data loss occurred sometimes when configured primary-backups with full_async

2016-08-29 Thread seyeony
hi Val, thank you very much for your reply and recommendations on my problem. i changed my id due to the problem with mailing list... i use the option FULL_ASYNC dut to the insert performance. i ran 3 nodes of empty ignite in each server. i tried to put 10 Person object as client mode. i got