Re: Ignite Transactions and non-committed entries

2016-07-25 Thread vkulichenko
There are operations that are enlisted in a transaction (get, put, remove, etc.) and non-transactional (like size, clear, etc.). JavaDoc for methods usually specify that. If a transactional operation is executed without a transaction, an implicit transaction will be created by Ignite for this

Re: How to use BackupFilter to assign all backups to different machine groups?

2016-07-25 Thread Jason
Thanks Val. Because the user attributes are a map of , so "attributes are static and can't be changed after the node is started. Nodes exchange attributes with each other during the join process" means that the maps are merged together with new key added, and old key unchanged?

Re: How to use BackupFilter to assign all backups to different machine groups?

2016-07-25 Thread vkulichenko
Hi Jason, a). Yes, you can provide attributes in the XML file in the same way as with Java. b). This is true. With the current API there is a chance that two backups will end up in the same group. c,d,e). As I responded in another thread, attributes are static and can't be changed after the node

Re: QuerySqlFunction methods with variable arguments do not seem to work

2016-07-25 Thread vkulichenko
Hi, Please show your cache configuration. Did you provide the MySql class in the CacheConfiguration.setSqlFunctionClasses(..) property? BTW, instead of this query, it's much better to use IgniteCache.get(..) method, providing the required key. -Val -- View this message in context:

Re: Exception scanning cache

2016-07-25 Thread vkulichenko
Hi, Please properly subscribe to the mailing list so that the community can receive email notifications for your messages. Here is the instruction: http://apache-ignite-users.70518.x6.nabble.com/mailing_list/MailingListOptions.jtp?forum=1 hlustosa wrote > -When we start a client node, its local

Re: Can not start another client when doing ContinuousAsyncQuery

2016-07-25 Thread ght230
Anyone has ideas? -- View this message in context: http://apache-ignite-users.70518.x6.nabble.com/Can-not-start-another-client-when-doing-ContinuousAsyncQuery-tp6375p6530.html Sent from the Apache Ignite Users mailing list archive at Nabble.com.

Re: "ArrayIndexOutOfBoundsException" happened when doing qurey in version 1.6.0

2016-07-25 Thread Semyon Boikov
We already have similar issue reproduced in our benchmarks - https://issues.apache.org/jira/browse/IGNITE-3300. I think this is related to optimziation done in 1.6 to store key partition in the cache key. I believe fix will be included in 1.7 release. On Tue, Jul 26, 2016 at 2:13 AM, Valentin

Re: How to use BackupFilter to assign all backups to different machine groups?

2016-07-25 Thread Jason
Thanks Val. so the attributes are per node, and after exchange when new node starts, each node has a copy of attributes for every node in the cluster, right? Thanks, -Jason -- View this message in context:

Re: Can not start another client when doing ContinuousAsyncQuery

2016-07-25 Thread ght230
ExampleNodeStartup.java CacheContinuousAsyncQueryExample.java ExampleNodeClient.java

Re: Question about GridGain will typically add around 200 bytes overhead to each entry

2016-07-25 Thread November
Hi Sergi, I have tried try setting setMemoryMode to OFFHEAP_TIERED on CacheConfiguratio. It save about 2GB, but still use about 30GB memory. I wonder if there is any method to reduce the overhead? I notice Ignite has enterprise edition. Will them differ in overhead? Thanks -- View this

How to monitor the cache info?

2016-07-25 Thread Jason
hi Ignite team, In the community version, how to monitor the below info: 1. which nodes are one cache assigned to? which partitions for each node? 2. how to monitor the memory usage in each node for one cache? 3. how to monitor the off-heap memory usage for one node? seems the node command in

Re: Question about GridGain will typically add around 200 bytes overhead to each entry

2016-07-25 Thread Sergi Vladykin
I don't think that enterprise edition will help much here. I hope soon we will be releasing 1.7, there we made some improvements in this area, you can try it when it will be out. Sergi 2016-07-25 11:20 GMT+03:00 November : > Hi Sergi, > > I have tried try setting

Re: How to control the data unbalance among all the server nodes?

2016-07-25 Thread Vladislav Pyatkov
Hello Jason, 1) Yes, data (cache entry) distributed in partition, depends on hash code of key (key.hashCode() % parts). 2) The basis for the rebalancing of partitions are leave node from cluster or join a node to cluster. RendezvousAffinityFunction does so that each node has roughly the same

Re: Question about GridGain will typically add around 200 bytes overhead to each entry

2016-07-25 Thread Sergi Vladykin
I believe you already have some logic to parse this file and put all the entries to cache. To test overhead you can store all your entries in simple HashMap instead of Ignite cache and see the difference in memory consumption. Sergi 2016-07-25 9:09 GMT+03:00 November : >

Re: Question about GridGain will typically add around 200 bytes overhead to each entry

2016-07-25 Thread November
Hi Sergi Thanks for reply. I have tried to store them in hashmap. It use about 5GB memory. By the way, my ignite cache set backups = 0 and has one index field. -- View this message in context:

Re: Question about GridGain will typically add around 200 bytes overhead to each entry

2016-07-25 Thread Sergi Vladykin
Yes, it looks like Ignite introduces the most of overhead here. Did you try setting setMemoryMode to OFFHEAP_TIERED on CacheConfiguration? I think it may help a bit. Sergi 2016-07-25 10:37 GMT+03:00 November : > Hi Sergi > > Thanks for reply. > > I have tried to store them

Ignite - SQL queries aggregation

2016-07-25 Thread M Singh
Hi: I wanted to find out if ignite sql/other queries support aggregation or udf functions (like count, etc). Thanks

Re: Ignite - SQL queries aggregation

2016-07-25 Thread Andrey Gura
Ignite SQL engine built on top of H2 engine and supports aggregation functions like cnt, max, etc. Also Ignite supports user defined function. See QuerySqlFunction annotation documentation and its usages in Ignite tests (e.g.