Re: Stupide question about Queue ?

2016-01-20 Thread dsetrakyan
Yann BLAZART wrote > In hazelcast we can persist Queues in Database, this help me for example > when consumer are down to no have OOM exception. But I don't see this > possibility in Ignite docs ? Hazelcast queues are not distributed. They can only be stored on one Hazelcast node and, therefore,

Re: Cron job

2016-01-20 Thread vkulichenko
Actually, IgniteScheduler API is still available [1]. I tend to agree that it's not very useful, but it's definitely not dumped :) [1] https://github.com/apache/ignite/blob/master/modules/core/src/main/java/org/apache/ignite/IgniteScheduler.java -Val -- View this message in context:

Re: Apache Ignite Source compilation Issue

2016-01-20 Thread vkulichenko
Hi Bhargav, First of all, can you please properly subscribe to the mailing list so that the community receives email notifications? Follow the instruction here: http://apache-ignite-users.70518.x6.nabble.com/mailing_list/MailingListOptions.jtp?forum=1 bhargav wrote > I m using apache ignite -

Re: TcpDiscoveryVmIpFinder's isShared property

2016-01-20 Thread Dmitriy Setrakyan
Yakov, I am reading this S3 use case for the 2nd time and still cannot understand it. I think, this is one of the reason why this property has caused so much confusion. I vote to use it only for local VM and property renaming it. D. On Tue, Jan 19, 2016 at 11:45 PM, Yakov Zhdanov

Cron job

2016-01-20 Thread Paolo Di Tommaso
Hi there, Is there a way to deploy a cron task in each grid node and periodically set an attribute in the ClusterNode structure? Any suggestion? Thanks a lot Paolo

Re: Cron job

2016-01-20 Thread Dmitriy Setrakyan
Hi Paolo, You can definitely deploy a cron task that will periodically execute a task on top of Ignite. However, node attributes are static and get assigned on startup, so I don’t think you will be able to change them. Instead, I would suggest to create a small cache using node ID as a key and

Re: Cron job

2016-01-20 Thread Paolo Di Tommaso
Hi Dmitriy, Thank a lot for your tip. Does Ignite provide any built-in mechanism to periodically execute a task on grid nodes or I can simply use a Java ScheduledExecutorService or even a Timer class? Cheers, Paolo On Wed, Jan 20, 2016 at 8:53 PM, Dmitriy Setrakyan

Re: Cron job

2016-01-20 Thread Dmitriy Setrakyan
On Wed, Jan 20, 2016 at 12:30 PM, Paolo Di Tommaso < paolo.ditomm...@gmail.com> wrote: > Hi Dmitriy, > > Thank a lot for your tip. Does Ignite provide any built-in mechanism to > periodically execute a task on grid nodes or I can simply use a Java > ScheduledExecutorService or even a Timer class?

Re: Grouping cache when loading data using CacheStore

2016-01-20 Thread Ferry Syafei Sapei
Importing the CSV into H2 database will require a huge amount of memory, since the file is big and contains a lot of redundant data. Some rows should be aggregated since they belong to an object with the same key (e.g. accountNumber). Moreover the rows are not sorted by the accountNumber.

Re: Grouping cache when loading data using CacheStore

2016-01-20 Thread Denis Magda
HI, CacheLoadOnlyStoreAdapter [1] perfectly fits for your cause it was deliberately designed for the cases when fast loading from raw files, CSV or other resources is needed. Unfortunately there is no an example in Ignite that shows how to use this adapter for now. I've created a ticket to be

Re: issue with 2-node ignite server cluster

2016-01-20 Thread Denis Magda
Hi, This is a generic log from a node that detected that another one node left a cluster abruptly. I need all the logs from all the nodes you have. Please share them via Dropbox or some other file sharing tool. In general a node can leave topology because of long garbage collection pauses. So

Re: Runtime error at IgniteSpiThread

2016-01-20 Thread Denis Magda
Hi, As far as I remember Ignite community fixed a lot of issues related to the stability of TCP discovery SPI in version 1.5.0. The one you face should be fixed as well. So please upgrade to version 1.5.0 and check you app with it. 1. Is there any restriction on the number of clients which can

Re: Ignite stream processing

2016-01-20 Thread Denis Magda
Hi Jack, Probably you can rely on streaming sliding windows [1] if you don't need to have all the data in the cache. How do you process the data? What kind of queries do you use? Finally, please properly subscribe to the user list (this way we will not have to manually approve your emails). All

Re: UnsupportedOperationException on adding indexed types to a config object

2016-01-20 Thread Denis Magda
Hi, Thanks for catching this. There was a tiny issue that is reproduced only when a CacheConfiguration is being initialized like in your example. I've done a hot fix and pushed changes into the master. On your side you can initialized the configuration the way below to avoid the exception