Re: Cache loading errors out

2016-03-29 Thread arthi
hi Denis, I re-ran the tests with offheap tiered settings, and it looked very neat. The heap usage was around 300MB. Please find the hist attached. I could not take a profiler snapshot as it is a remote application and uses Java 7. Thanks again, Arthi hist3328.1

Re: Ignite Cache and Compute Performance

2016-03-29 Thread abarbaro
Vladimir First, thank you for your reply - it was very quick and insightful! I agree with you that comparing to in-JVM is not a fair comparison. I'm only using that as the absolute upper-bound for performance; in other words, the closer we are to that the better. I have tried your (very good)

Re: Ignite terminology

2016-03-29 Thread alexGalushka
Val, Thank you for your response. Here is my simple use-case for POC to evaluate Apache Ignire I'm currently working on, which have generated the Apache Ignite terminology question. My setup: VM {Ubuntu 15.04; 4 cores}, 2 docker containers (each has its own JVM, each deploys its own Vert.x

How to load cache when reading data from txt files

2016-03-29 Thread tusharnakra
Hi, I created a file helloworld.txt. Now I'm reading from the file and then I want to load the contents of the file into the cache, and whenever the cache is updated, it should write to the file as well. This is my code so far: Please tell me what to do to load the cache and then write from the

Failed to find mapping description [cache=PersonCache, typeId=class apache.ignite.schemas.PersonKey]. Please configure JdbcType to associate cache 'PersonCache' with JdbcPojoStore ERROR

2016-03-29 Thread tusharnakra
Hi, I have that in my generated CacheConfig file, but still the error shows. I have also tried this with H2 database and it works fine, but I wanna use Mysql, and it is giving me this mapping error. Here's my CacheConfig.java : /* * Licensed to the Apache Software Foundation (ASF) under one or

Re: Ignite terminology

2016-03-29 Thread vkulichenko
Alexander, It's weird that you get NULL instead of the set of nodes. Regardless of the grid name it should return all nodes in the topology. Are you sure that nodes discover each other? Maybe you have the simple test that reproduces it? Answering your questions: 1. Correct. 2. Ignite instance

Re: How to load cache when reading data from txt files

2016-03-29 Thread vkulichenko
Hi, Can you please try a different email to subscribe? For information on how to load the cache from a persistence store please refer to this page: https://apacheignite.readme.io/docs/data-loading You have two options: 1. Start a client node, create IgniteDataStreamer and use it to load the

Re: Ignite Cache and Compute Performance

2016-03-29 Thread abarbaro
A couple of things to clarify the request/question about an API to iterate over cache entries on given partitions: a) I'm only talking about iterating locally (i.e. it will only iterate on the localEntries). b) In terms of semantics, I was thinking about overload for the existing

Re: Hibernate loadcache error?

2016-03-29 Thread vkulichenko
Ravi, I have no idea about specifics of your project. The example that is included in Ignite is a part of working project and it does work properly. I will not be able to provide anything above that without knowing how your application works. Do you have a project that you can show and that we

Re: ignite not support expression: EXISTS?

2016-03-29 Thread minisoft_rm
I would like to append more details now I realised there are two ways to query cache data: 1. by SqlFieldsQuery related approach 2. by "org.apache.ignite.IgniteJdbcDriver", which could give us standard ResultSet, it is really cool. so that we could treat ignite as a real in-memory DB,

Re: Hibernate loadcache error?

2016-03-29 Thread Ravi Puri
thanks I rectified the error. antlr.jar was missing. :) -- View this message in context: http://apache-ignite-users.70518.x6.nabble.com/Hibernate-loadcache-error-tp3534p3729.html Sent from the Apache Ignite Users mailing list archive at Nabble.com.

How to setup alert recipients in visor cli?

2016-03-29 Thread tracel
Hi, I found in visor command line interface one can register alerts, but how can I set the alert recipients? thanks in advance! -- View this message in context: http://apache-ignite-users.70518.x6.nabble.com/How-to-setup-alert-recipients-in-visor-cli-tp3732.html Sent from the Apache Ignite

get a Affinity interface

2016-03-29 Thread Shaomin Zhang
Hi I am trying to get an Affinity interface to get node/partition/key information. The Java doc page says you can get such interface by calling Cache.affinity(). I try to use IgniteCache interface, but it has no such method. Can you please let me know how to get this interface? Thanks

How to script with visor cli?

2016-03-29 Thread tracel
Hi, I am trying to write some script with the visor cli, my first attempt is to connect visor to a cluster with a custom config, then do a "cache" command Visor seems don't allow both -cfg and -e: # bin/ignitevisorcmd.sh -cfg=config/test-one.xml -e=cache OpenJDK Server VM warning:

Re: SqlQuery Error

2016-03-29 Thread Vladimir Ozerov
Hi Tony, It looks like you should use "Test*t*able1", not "Test*T*able1". Vladimir. On Mon, Mar 28, 2016 at 4:46 PM, 16616...@qq.com <16616...@qq.com> wrote: > hi yakov, > > Thank you very much for you reply. > Now I can execute sql query and fields query correctly. > > But I still can not

Re: get a Affinity interface

2016-03-29 Thread Vladimir Ozerov
Hi Shaomin, This method is located on *Ignite* interface. Vladimir. On Tue, Mar 29, 2016 at 1:26 PM, Shaomin Zhang wrote: > Hi > > > > I am trying to get an Affinity interface to get node/partition/key > information. The Java doc page says you can get such interface

Re: Ignite Cache and Compute Performance

2016-03-29 Thread Vladimir Ozerov
Hi, I hardly can find this comparison fair. HashMap is plain non-thread safe hashed map. Ignite is tread-safe, distributed cache with optional transactions, evictions, expiration and so on. I would suggest you do the following to improve numbers: 1) Set *CacheConfiguration.copyOnRead* flag to

Re: Host Arrays in C++ API

2016-03-29 Thread arthi
thanks Igor. I will wait for your response.. Thanks for the help, Arthi -- View this message in context: http://apache-ignite-users.70518.x6.nabble.com/Host-Arrays-in-C-API-tp3707p3740.html Sent from the Apache Ignite Users mailing list archive at Nabble.com.

Re: Cache loading errors out

2016-03-29 Thread arthi
Thanks Denis. I changed the long into int for keys and also the object fields. The memory for each bitmap object is about 160-200 bytes. I can see that the memory footprint for all objects and keys comes to around 6.1 GB. The rest of the memory is still around 5GB. Can this be reduced? There is

Re: Cache loading errors out

2016-03-29 Thread Denis Magda
Arthi, Please create a memory snapshot using visual VM profiler [1] and share it with us. I need to see roots that holds the rest of the memory. [1] https://visualvm.java.net/snapshots.html Regards, Denis On 3/29/2016 4:17 PM, arthi wrote: Thanks Denis. I changed the long into int for

RE: get a Affinity interface

2016-03-29 Thread Shaomin Zhang
Thank you Vladimir. From: Vladimir Ozerov [mailto:voze...@gridgain.com] Sent: 29 March 2016 12:51 To: user@ignite.apache.org Subject: Re: get a Affinity interface Hi Shaomin, This method is located on Ignite interface. Vladimir. On Tue, Mar 29, 2016 at 1:26 PM, Shaomin Zhang

Re: Cache loading errors out

2016-03-29 Thread arthi
Thanks Denis. I could use cache.size(CachePeekMode.OFFHEAP) to the off heap entries count. The visor tool does not show the offheap entries though (I used cache -a to print the detailed stats). Just a quick check on the SQL performance. will there be noticeable difference in SQL join query

Re: ignite not support expression: EXISTS?

2016-03-29 Thread minisoft_rm
dear experts, still no response for this question. So I guess ignite currently doesn't support the "EXISTS". do we have any plan or jira# to track it so that we could implement it in a later version? thanks ~~ -- View this message in context:

Re: Cache loading errors out

2016-03-29 Thread Denis Magda
Hi Arthi, /I re-ran the tests with offheap tiered settings, and it looked very neat. The heap usage was around 300MB./ //This is because all your cache data presently located out of Java heap in the offheap space [1] Offheap is very useful for cases when Java heap tends to grow to tens and

Re: Failed to find mapping description [cache=PersonCache, typeId=class apache.ignite.schemas.PersonKey]. Please configure JdbcType to associate cache 'PersonCache' with JdbcPojoStore ERROR

2016-03-29 Thread Vasiliy Sisko
I found the next problems in you code: 1. In CacheConfiguration.jdbcTypePerson and CacheConfiguration.queryEntityPerson incorrectly configured key type and value type. Package in configuration should be equal to real package of classes: