Re: Not able to retrieve data from cache

2016-09-08 Thread Saikat Maitra
Hello, Can you please share rest api you used to fetch the data from the cache. Can you use the Sql fields query execute rest api if you are able to get the data. http://host:port/ignite?cmd=qryfldexe&pageSize=10&cacheName=Person&qry=select+firstName%2C+lastName+from+Person Regards Saikat On Mo

Re: CacheJdbcPojoStore with MariaDB

2016-09-08 Thread 윤세연
Hi Alexey, Thank you very much for your help. Regards, SeYeon Yoon 2016-09-08 19:43 GMT+09:00 Alexey Kuznetsov : > Hi, @seyeony! > > In general Ignite need some heap for temp objects when loading entries to > cache. > I would recommend to use such very raw approximation: 200 bytes for entry, > s

Re: Reassign partitions

2016-09-08 Thread vkulichenko
Hi, I don't understand. In your example part.2 was moved from Node1 to Node3. So all the entries will be moved to Node3 and the local store will be update as well. What is lost? -Val -- View this message in context: http://apache-ignite-users.70518.x6.nabble.com/Reassign-partitions-tp7461p762

Re: Spring application context resource is not injected exception while starting ignite in jdbc driver mode

2016-09-08 Thread vkulichenko
Hi, How do you start the server node with C#? Please show it's configuration as well. -Val -- View this message in context: http://apache-ignite-users.70518.x6.nabble.com/Spring-application-context-resource-is-not-injected-exception-while-starting-ignite-in-jdbc-driver-me-tp7272p7619.html Sen

Re: "OFFHEAP_VALUES" MODE (VISOR CONSOLE)

2016-09-08 Thread vkulichenko
Hi, This is correct behavior. In OFFHEAP_VALUES mode, entries are actually stored on-heap, but in instead of values they have a pointers to off-heap memory. -Val -- View this message in context: http://apache-ignite-users.70518.x6.nabble.com/OFFHEAP-VALUES-MODE-VISOR-CONSOLE-tp7601p7618.html

Re: Please warn Oracle Java8 VM has inline optimization error!

2016-09-08 Thread vkulichenko
Hi, This is interesting. What should I run in your test to reproduce the issue? Can you create a JIRA ticket for it? -Val -- View this message in context: http://apache-ignite-users.70518.x6.nabble.com/Please-warn-Oracle-Java8-VM-has-inline-optimization-error-tp7582p7617.html Sent from the Ap

Re: LOOK THORUGH THIS ERROR

2016-09-08 Thread vkulichenko
Ravi, Did you check my link? -Val -- View this message in context: http://apache-ignite-users.70518.x6.nabble.com/LOOK-THORUGH-THIS-ERROR-tp6977p7616.html Sent from the Apache Ignite Users mailing list archive at Nabble.com.

Re: how to get all keys and values stored into ignite cache for ignite1.6?

2016-09-08 Thread vkulichenko
IgniteCache is Iterable, so you can just iterate through its contents. -Val -- View this message in context: http://apache-ignite-users.70518.x6.nabble.com/how-to-get-all-keys-and-values-stored-into-ignite-cache-for-ignite1-6-tp7612p7615.html Sent from the Apache Ignite Users mailing list arch

Re: understanding Locks usage

2016-09-08 Thread vkulichenko
Sam, Data access semantics are provided by transactions. You have different concurrency mode and isolation level to control it. There is no much sense to use lock for this. Answering other questions: 1. You have tryLock method timeout. Once again, Ignite lock provides everything that is available

Re: Overall desgn question

2016-09-08 Thread vkulichenko
With replicated cache you don't need to collocate. You can try both approaches - a single cache for documents that have nested collection of pages, or two separate caches for documents and pages. -Val -- View this message in context: http://apache-ignite-users.70518.x6.nabble.com/Overall-desgn

how to get all keys and values stored into ignite cache for ignite1.6?

2016-09-08 Thread percent620
Hello, I have request to get all the keys and values from igniteCache for ignite 1.6 version? Can anyone tell me how to do that? thanks!!! -- View this message in context: http://apache-ignite-users.70518.x6.nabble.com/how-to-get-all-keys-and-values-stored-into-ignite-cache-for-ignite1-6-tp76

Re: Overall desgn question

2016-09-08 Thread styriver
Thank you for the response. Does this approach make sense if we are going to be in replicated mode. We will not be using partition mode. -- View this message in context: http://apache-ignite-users.70518.x6.nabble.com/Overall-desgn-question-tp7459p7611.html Sent from the Apache Ignite Users mai

Re: Yarn Ignite Container Automatically exit when other yarn application running

2016-09-08 Thread Ivan Veselovsky
Hi, mail archive record http://mail-archives.apache.org/mod_mbox/hadoop-user/201502.mbox/%3cd0f948da.33f4a%25xg...@hortonworks.com%3E seems to describe similar issue. The advice there is to see https://issues.apache.org/jira/browse/MAPREDUCE-6230 and https://issues.apache.org/jira/browse/YARN-310

Re: Azure App Service compatible?

2016-09-08 Thread azureappserviceuser
The TcpDiscoverySharedFsIpFinder with localHost 127.0.0.1 did the trick! Also works correctly when scaling out (multiple instances). Thanks Denis! (Sorry for long reply delay, was certain I had posted this a while back!) -- View this message in context: http://apache-ignite-users.70518.x6.

Re: understanding Locks usage

2016-09-08 Thread Andrey Gura
Sam, as workaround you can use IgniteQueue in order to implement distributed exclusive lock. You can find example of such solution in vertx-ignite project. See IgniteClusterManager class [1], getLockWithTimeout() method and LockImpl class. [1] https://github.com/vert-x3/vertx-ignite/blob/master/s

Re: How to optimize Ignite when running on a virtual machine

2016-09-08 Thread Vladislav Pyatkov
Hi, I had not saw any instruction for configure Ignite on virtual machine. But I can give advice, what the purpose of the article. What difference between virtual and fisical machin? You need to focus on minimize system latency. Such as: using slow memory (swapping) or blocking all process due to

Re: CacheJdbcPojoStore with MariaDB

2016-09-08 Thread Alexey Kuznetsov
Hi, @seyeony! In general Ignite need some heap for temp objects when loading entries to cache. I would recommend to use such very raw approximation: 200 bytes for entry, so max_heap = 200 * max_entries_numbers + 512MB (for Ignite system needs). But to have a clear answer - take a heap dump and fi

How to optimize Ignite when running on a virtual machine

2016-09-08 Thread Level D
Hi all, I have read the article about jvm and system tuning (https://apacheignite.readme.io/docs/jvm-and-system-tuning#section-detailed-garbage-collection-stats). I found it mainly focus on physical machines. But I use virtual machines. Is there any optimization for the virtual machine?

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: Cache Problems

2016-09-08 Thread Level D
Hi val, Thank you again for your kind reply. http://www.springframework.org/schema/beans"; xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"; xmlns:p="http://www.springframework.org/schema/p"; xmlns:util="http://www.springframework.org/schema/util"; xmlns:context="http://www.sp