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: http://ap

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 - da

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 Paolo Di Tommaso
It sounds OK. Thanks, Paolo On Wed, Jan 20, 2016 at 9:50 PM, Dmitriy Setrakyan wrote: > > 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 execu

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: 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 wrote: > Hi Paolo, > > You

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 at

Re: Serialization issue with Ignite 1.5 built from master (357d791)

2016-01-20 Thread Paulo Pires
I am OK with building my own version. Thank you, Pires On Tue, Jan 19, 2016 at 10:47 PM, Dmitriy Setrakyan wrote: > Paulo, > > Any reason why you need a hot fix release? Looks like Alexey provided you > with a commit revision number you can build from. Should not be hard to > generate your own

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: 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 wrote: > I qu

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 Cache

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 b

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 ac

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: 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 sur

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. Coul