Re: Reducing memory footprint

2016-03-15 Thread vkulichenko
Hi Alexander, Are you going to have 16 node cluster and embed a client node into application? Are you memory consumption requirements valid for server nodes as well or only for the application? I'm asking because generally client consumes less than server. -Val -- View this message in context:

Re: org.apache.ignite.IgniteCheckedException: Failed to register query type: TypeDescriptor

2016-03-15 Thread vkulichenko
BTW, please properly subscribe to the mailing list, otherwise community doesn't receive email notifications. Here is the instruction: http://apache-ignite-users.70518.x6.nabble.com/mailing_list/MailingListOptions.jtp?forum=1 minisoft_rm wrote > CacheConfig.java

Re: Querying HashMap stored as value in IgniteCache

2016-03-15 Thread Alexey Goncharuk
Hi, It may be the case that you can utilize BinaryObjectBuilder instead of HashMap for the use-case you described [1]. It is an abstraction that was created to handle cases when no class definitions exist. You can also change the structure of your binary objects in runtime. So the code you have d

Re: Standard SPI logging

2016-03-15 Thread Paolo Di Tommaso
My fault, I was using a wrong logger name. Cheers, Paolo On Tue, Mar 15, 2016 at 10:53 PM, Paolo Di Tommaso < paolo.ditomm...@gmail.com> wrote: > Hi, > > I've noticed that using a plain SLF4J logger in a SPI class instead of > injecting an Ignite logger does not produce any output in the log fil

Standard SPI logging

2016-03-15 Thread Paolo Di Tommaso
Hi, I've noticed that using a plain SLF4J logger in a SPI class instead of injecting an Ignite logger does not produce any output in the log file. Is this an expected behavior? Is there any to use SLF4J directly instead of an Ignite logger? Cheers, Paolo

Re: Two nodes in one JVM/Tomcat

2016-03-15 Thread vkulichenko
Hi, Can you please properly subscribe to the mailing list so that the community receives email notifications? Here is the instruction: http://apache-ignite-users.70518.x6.nabble.com/mailing_list/MailingListOptions.jtp?forum=1 hemanta wrote > Hi All, > > We have two web applications (A and B) ru

Re: org.apache.ignite.IgniteCheckedException: Failed to register query type: TypeDescriptor

2016-03-15 Thread vkulichenko
Hi, Can you please show your cache configuration as well as key and value classes? -Val -- View this message in context: http://apache-ignite-users.70518.x6.nabble.com/org-apache-ignite-IgniteCheckedException-Failed-to-register-query-type-TypeDescriptor-tp3447p3524.html Sent from the Apache I

Re: About running multiple ignite instance in one server's question

2016-03-15 Thread vkulichenko
Please refer to this documentation chapter: https://apacheignite.readme.io/docs/cluster-config#isolated-ignite-clusters-on-the-same-set-of-machin Let us know if it helps. -Val -- View this message in context: http://apache-ignite-users.70518.x6.nabble.com/About-running-multiple-ignite-instanc

Re: Hibernate connection inspite of jdbc?

2016-03-15 Thread vkulichenko
Ravi, Ignite is not using Hibernate in this case. It's up to you how to implement the cache store and which version of Hibernate to use within this implementation to access the database. However, the store will not be functional unless you add your version of Hibernate JARs to the classpath. On s

Re: Querying HashMap stored as value in IgniteCache

2016-03-15 Thread vkulichenko
Hi, Are you going to query based on 'isActive' field only, or you need to indexes be dynamic as well? -Val -- View this message in context: http://apache-ignite-users.70518.x6.nabble.com/Querying-HashMap-stored-as-value-in-IgniteCache-tp3507p3521.html Sent from the Apache Ignite Users mailing

Re: How can i get the ignite instance im my code when i had config the Spring Cache?

2016-03-15 Thread vkulichenko
It would be really great if you share your logs. Otherwise it's very hard to understand the reason of your issue. -Val -- View this message in context: http://apache-ignite-users.70518.x6.nabble.com/How-can-i-get-the-ignite-instance-im-my-code-when-i-had-config-the-Spring-Cache-tp3477p3520.htm

Re: Reducing memory footprint

2016-03-15 Thread alexGalushka
Val, Here is a bit more info, we are building an API gateway and planning on using either Ignite or Hazelcast as our cluster management paltform (it's embedded with Vert.x though). Based on the comparison and particular Ignite features

Re: Why i can't get data cache by SpringCacheManager?

2016-03-15 Thread 上帝已死
Sorry, i know the reason now.Because i am not using the same cacheName -- View this message in context: http://apache-ignite-users.70518.x6.nabble.com/Why-i-can-t-get-data-cache-by-SpringCacheManager-tp3514p3516.html Sent from the Apache Ignite Users mailing list archive at Nabble.com.

About running multiple ignite instance in one server's question

2016-03-15 Thread 上帝已死
I have 2 web application which is using ignite and 2 server(ip is different).Web application A has 2 node running in server S1 and server S2(ip is different).Web application B has 2 node running in server S1 and server S2 too.I don't know how to config the ignite so the web application A and web ap

Why i can't get data cache by SpringCacheManager?

2016-03-15 Thread 上帝已死
I had cache the data to ignite by SpringCacheManager.But i can't get data from cache.iterator(). -- View this message in context: http://apache-ignite-users.70518.x6.nabble.com/Why-i-can-t-get-data-cache-by-SpringCacheManager-tp3514.html Sent from the Apache Ignite Users mailing list archive a

Re: Off Heap cache using lots of heap memory

2016-03-15 Thread Vladimir Ozerov
Hi Neil, Thank you for code snippet. I was able to reproduce the problem and created a ticket - https://issues.apache.org/jira/browse/IGNITE-2833 Hope we will be able to fix it soon. Vladimir. On Fri, Mar 11, 2016 at 10:13 AM, Neil Wightman wrote: > Hi Vladimir, > > It took me a while to make

Re: Hibernate connection inspite of jdbc?

2016-03-15 Thread Ravi Puri
How would i know which version ignite hibernate is using. as per your example hibernate 3 jar is used so what will be the matching ignite hibernate version of jar??? -- View this message in context: http://apache-ignite-users.70518.x6.nabble.com/Hibernate-connection-inspite-of-jdbc-tp3412p3511.

Re: Hibernate connection inspite of jdbc?

2016-03-15 Thread Ravi Puri
i resolved that.. now what is java.lang.VerifyError [14:13:29,374][ERROR][exchange-worker-#49%null%][GridDhtPartitionsExchangeFuture] Failed to reinitialize local partitions (preloading will be stopped): GridDhtPartitionExchangeId [topVer=AffinityTopologyVersion [topVer=1, minorTopVer=1], nodeId=4

Re: about mr accelerator question.

2016-03-15 Thread Vladimir Ozerov
Hi, 1) If you have 200G of data, and all this data is used, 6 nodes with 24G each will not be able to hold it. Possible solutions: - Allocate more memory. Note that having 24G on-heap and 24G off-heap, doesn't mean that you have 48G for IGFS. IGFS store data in either onheap or offheap depending o

Querying HashMap stored as value in IgniteCache

2016-03-15 Thread Ambha
For my application, I need to store as key-value pair in IgniteCache and later query the cache on HashMap keys as shown in example below. Is that possible in Ignite? If it is not possible, do let me know the way to extend query/indexing functionality to enable this feature or is there any other wa