Re: Ignite2.0 memory policy

2017-05-13 Thread Denis Magda
Yes, that a general Spring rule - 'set' has to be excluded from a method name. Hope you already checked that 'statisticsEnabled' works for you. Denis On Saturday, May 13, 2017, Ajay wrote: > No why i asked is when i enabled statisticsEnabled getting following error > so > that > > Error settin

Re: Ignite2.0 memory policy

2017-05-13 Thread Ajay
No why i asked is when i enabled statisticsEnabled getting following error so that Error setting property values; nested exception is org.springframework.beans.NotWritablePropertyException: Invalid property 'isStatisticsEnabled' of bean class [org.apache.ignite.configuration.CacheConfiguration]:

Re: Ignite2.0 memory policy

2017-05-13 Thread Denis Magda
Just add these parameters to the already existing cache and policy configurations on your side. There is nothing special about that, common Spring XML stuff. https://apacheignite.readme.io/v2.0/docs/memory-and-cache-metrics Later on we will add an xml snippet to the doc. Denis On Saturday, May 1

Re: Ignite2.0 memory policy

2017-05-13 Thread Ajay
Hi, Do you have xml configurations for to enable page and cache metrics? -- View this message in context: http://apache-ignite-users.70518.x6.nabble.com/Ignite2-0-memory-policy-tp12756p12762.html Sent from the Apache Ignite Users mailing list archive at Nabble.com.

Re: Ignite2.0 memory policy

2017-05-13 Thread Denis Magda
Please see below > On May 13, 2017, at 11:03 AM, Ajay wrote: > > Hi, > > Thanks for quick reply. > > Coming to question is: > > 1) I did configuration in in server node xml like > > > >/> > > >/> > >

Re: Ignite2.0 memory policy

2017-05-13 Thread Ajay
Hi, Thanks for quick reply. Coming to question is: 1) I did configuration in in server node xml like

Re: Ignite2.0 memory policy

2017-05-13 Thread Denis Magda
> 3)Is ignite supports any compression? There is a ticket for that. Probably it will be added in the nearest time. https://issues.apache.org/jira/browse/IGNITE-3592 In the meanwhile, you can use EntryProcessor API [1] compressing whole objects

Re: Ignite2.0 memory policy

2017-05-13 Thread Denis Magda
Ajay, Did you come across this section of the page memory documentations? https://apacheignite.readme.io/docs/page-memory#memory-policies Even more, after reading the section till the end you will find a reference to an example: https://github.com/apache/ignite/blob/master/examples/src/main/java

Re: Ignite2.0 memory policy

2017-05-13 Thread Ivan Rakov
Hi Ajay, 1) You can specify list of memory policies in memory configuration: MemoryConfiguration memCfg =new MemoryConfiguration(); MemoryPolicyConfiguration plcCfg =new MemoryPolicyConfiguration(); plcCfg.setInitialSize(100 *1000 *1000); plcCfg.setMaxSize(200 *1000 *1000); plcCfg.setName("my

Ignite2.0 memory policy

2017-05-13 Thread Ajay
Hi, Please explain points 1)How to add custom memory policy? 2)Can disable default memory policy? 3)Is ignite supports any compression? Thanks -- View this message in context: http://apache-ignite-users.70518.x6.nabble.com/Ignite2-0-memory-policy-tp12756.html Sent from the Apache Ignite Use

Re: Fastest way to get multiple values from replicated cache ?

2017-05-13 Thread Denis Magda
Hi, It doesn't metter whether you use get or localPeek for a replicated cache. Both return data stored on a local server node. If this is just a matter of benchmarking then use getAll instead, set cacheconfiguration.copyonread to false and have more than 1 server nodes in the cluster. Denis On

Re: HDP, Hive + Ignite

2017-05-13 Thread Ivan V.
Alena, regarding comparison of your Hive query on TEZ+HDFS vs. TEZ+IGFS: my experiments show same results (~58 sec in average) for both. At least not distinguishable within dispersion. I suppose, in this usecase fetching the table data takes negligible time as compared to overall task processing ti

Fastest way to get multiple values from replicated cache ?

2017-05-13 Thread dany74q
Hey ignite users, We're using a replicated, atomic, ignite cache to store system-wide, high read key value pairs. There's a often executed scenario (millions per minute) in which we try to get 15 different keys from said cache - and we use localPeek with CachePeekMode.ALL to get those. While benc

Re: vertx-ignite

2017-05-13 Thread Anil
Hi Andrey, Could you please help me here? Thanks. Thanks On 11 May 2017 at 14:16, Anil wrote: > Hi Andrey, > > I am checking the default-ignite.xml at https://github.com/ > apacheignite/vertx-ignite/blob/master/src/main/ > resources/default-ignite.xml > > Could you please point what is missing