Re: Distributed scheduling

2017-07-05 Thread Konstantin Boudnik
e this: >> > > > 1) via scheduler: >> > > > Ignite ignite = Ignition.start(); >> > > > >> > > > ignite.scheduler().schedulel(job, "0 0 * * *"); // This will execute >> > job >> > > > every day at 00:00 >> > > > >> > > > 2) via compute >> > > > >> > > > Ignite ignite = Ignition.start(); >> > > > >> > > > ignite.compute().schedulel(task, "0 0 * * *"); // This will execute >> > > > compute >> > > > task every day at 00:00 >> > > > >> > > > Make sense? >> > > > >> > > > >> > > Yes, it does, but I am failing to see how is this a *distributed* >> > > scheduling. Are we persisting the scheduler somewhere in the cluster or >> > is >> > > it only triggered on the client side? >> > > >> > >>

Re: Distributed scheduling

2017-07-03 Thread Dmitriy Setrakyan
t; > > wrote: > > > > > > > > > Dmitriy, > > > > > > > > > > >> Can you provide a simple example of API calls that will make > this > > > > > possible? > > > > > API could be like this: > > > > > 1) via sched

Re: Distributed scheduling

2017-07-03 Thread Valentin Kulichenko
> > > Ignite ignite = Ignition.start(); > > > > > > > > ignite.scheduler().schedulel(job, "0 0 * * *"); // This will execute > > job > > > > every day at 00:00 > > > > > > > > 2) via compute > > > > > > > > Ignite ignite = Ignition.start(); > > > > > > > > ignite.compute().schedulel(task, "0 0 * * *"); // This will execute > > > > compute > > > > task every day at 00:00 > > > > > > > > Make sense? > > > > > > > > > > > Yes, it does, but I am failing to see how is this a *distributed* > > > scheduling. Are we persisting the scheduler somewhere in the cluster or > > is > > > it only triggered on the client side? > > > > > >

Re: Distributed scheduling

2017-07-01 Thread Dmitriy Setrakyan
; > every day at 00:00 > > > > > > 2) via compute > > > > > > Ignite ignite = Ignition.start(); > > > > > > ignite.compute().schedulel(task, "0 0 * * *"); // This will execute > > > compute > > > task every day at 00:00 > > > > > > Make sense? > > > > > > > > Yes, it does, but I am failing to see how is this a *distributed* > > scheduling. Are we persisting the scheduler somewhere in the cluster or > is > > it only triggered on the client side? > > >

Re: Distributed scheduling

2017-06-30 Thread Valentin Kulichenko
e.scheduler().schedulel(job, "0 0 * * *"); // This will execute job > > every day at 00:00 > > > > 2) via compute > > > > Ignite ignite = Ignition.start(); > > > > ignite.compute().schedulel(task, "0 0 * * *"); // This will

Re: Distributed scheduling

2017-06-30 Thread Dmitriy Setrakyan
task every day at 00:00 > > Make sense? > > Yes, it does, but I am failing to see how is this a *distributed* scheduling. Are we persisting the scheduler somewhere in the cluster or is it only triggered on the client side?

Re: Distributed scheduling

2017-06-30 Thread Alexey Kuznetsov
; > I need to execute some tasks periodically on cluster. I think it is a > > common task. > > I could aggregate data once a day, I could generate reports and so on... > > > > Nodes can fail, cluster could be restarted. And with new persistence > > feature distributed s

Re: Distributed scheduling

2017-06-29 Thread Dmitriy Setrakyan
> I need to execute some tasks periodically on cluster. I think it is a > common task. > I could aggregate data once a day, I could generate reports and so on... > > Nodes can fail, cluster could be restarted. And with new persistence > feature distributed scheduling > that

Re: Distributed scheduling

2017-06-29 Thread Alexey Kuznetsov
be useful? > > On Thu, Jun 29, 2017 at 12:22 PM, Alexey Kuznetsov <akuznet...@apache.org> > wrote: > > > Hi, All! > > > > I would like to start discussion about distributed scheduling. > > > > So, Ignite already has a module "ignite-schedule"

Re: Distributed scheduling

2017-06-29 Thread Dmitriy Setrakyan
Alexey, why do you think it will be useful? On Thu, Jun 29, 2017 at 12:22 PM, Alexey Kuznetsov <akuznet...@apache.org> wrote: > Hi, All! > > I would like to start discussion about distributed scheduling. > > So, Ignite already has a module "ignite-schedule&quo

Re: Distributed scheduling

2017-06-29 Thread Denis Magda
arnate that thread with the inputs from your side. — Denis > On Jun 29, 2017, at 12:22 PM, Alexey Kuznetsov <akuznet...@apache.org> wrote: > > Hi, All! > > I would like to start discussion about distributed scheduling. > > So, Ignite already has a module "ignite-

Distributed scheduling

2017-06-29 Thread Alexey Kuznetsov
Hi, All! I would like to start discussion about distributed scheduling. So, Ignite already has a module "ignite-schedule" that provide API for LOCAL scheduling on node. And if node failed - schedule will be lost. So, it will be very useful feature to have distributed scheduling. Le