You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@flink.apache.org by Nikolaas s <ni...@gmail.com> on 2016/02/19 12:08:38 UTC
cancel running stream job
Hi guys,
I'm trying to connect flink streaming and zeppelin,
however if I try to resubmit a streaming program from zeppelin I receive a
"org.apache.flink.runtime.jobmanager.scheduler.NoResourceAvailableException".
Is there a way to cancel a running Streaming Job ?
And would cancelling the Streaming Job in this case free up resources for
resubmission?
best,
Nikolaas
Re: cancel running stream job
Posted by Till Rohrmann <tr...@apache.org>.
Furthermore, if all of your sources are stoppable, then you can even stop
the streaming job gracefully now either using the CLI or the StopJob
message.
Cheers,
Till
On Fri, Feb 19, 2016 at 12:16 PM, Márton Balassi <ba...@gmail.com>
wrote:
> Adding to Ufuk's answer: yes, cancelling the job frees up the resources. :)
>
> Best:
>
> Marton
>
> On Fri, Feb 19, 2016 at 12:10 PM, Ufuk Celebi <uc...@apache.org> wrote:
>
> > Yes, you can cancel it via the web frontend or the CLI interface [1].
> >
> > If you can send messages to the JobManager, you can also send a
> > CancelJob message yourself.
> >
> > [1] https://ci.apache.org/projects/flink/flink-docs-master/apis/cli.html
> >
> > On Fri, Feb 19, 2016 at 12:08 PM, Nikolaas s
> > <ni...@gmail.com> wrote:
> > > Hi guys,
> > >
> > > I'm trying to connect flink streaming and zeppelin,
> > > however if I try to resubmit a streaming program from zeppelin I
> receive
> > a
> > >
> >
> "org.apache.flink.runtime.jobmanager.scheduler.NoResourceAvailableException".
> > >
> > > Is there a way to cancel a running Streaming Job ?
> > > And would cancelling the Streaming Job in this case free up resources
> for
> > > resubmission?
> > >
> > > best,
> > > Nikolaas
> >
>
Re: cancel running stream job
Posted by Márton Balassi <ba...@gmail.com>.
Adding to Ufuk's answer: yes, cancelling the job frees up the resources. :)
Best:
Marton
On Fri, Feb 19, 2016 at 12:10 PM, Ufuk Celebi <uc...@apache.org> wrote:
> Yes, you can cancel it via the web frontend or the CLI interface [1].
>
> If you can send messages to the JobManager, you can also send a
> CancelJob message yourself.
>
> [1] https://ci.apache.org/projects/flink/flink-docs-master/apis/cli.html
>
> On Fri, Feb 19, 2016 at 12:08 PM, Nikolaas s
> <ni...@gmail.com> wrote:
> > Hi guys,
> >
> > I'm trying to connect flink streaming and zeppelin,
> > however if I try to resubmit a streaming program from zeppelin I receive
> a
> >
> "org.apache.flink.runtime.jobmanager.scheduler.NoResourceAvailableException".
> >
> > Is there a way to cancel a running Streaming Job ?
> > And would cancelling the Streaming Job in this case free up resources for
> > resubmission?
> >
> > best,
> > Nikolaas
>
Re: cancel running stream job
Posted by Ufuk Celebi <uc...@apache.org>.
Yes, you can cancel it via the web frontend or the CLI interface [1].
If you can send messages to the JobManager, you can also send a
CancelJob message yourself.
[1] https://ci.apache.org/projects/flink/flink-docs-master/apis/cli.html
On Fri, Feb 19, 2016 at 12:08 PM, Nikolaas s
<ni...@gmail.com> wrote:
> Hi guys,
>
> I'm trying to connect flink streaming and zeppelin,
> however if I try to resubmit a streaming program from zeppelin I receive a
> "org.apache.flink.runtime.jobmanager.scheduler.NoResourceAvailableException".
>
> Is there a way to cancel a running Streaming Job ?
> And would cancelling the Streaming Job in this case free up resources for
> resubmission?
>
> best,
> Nikolaas