beam-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "ASF GitHub Bot (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (BEAM-333) Support "stop" for streaming pipelines
Date Tue, 06 Sep 2016 14:39:20 GMT

    [ https://issues.apache.org/jira/browse/BEAM-333?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15467566#comment-15467566
] 

ASF GitHub Bot commented on BEAM-333:
-------------------------------------

GitHub user mxm opened a pull request:

    https://github.com/apache/incubator-beam/pull/924

    [BEAM-333][flink] make unbounded sources stoppable

    


You can merge this pull request into a Git repository by running:

    $ git pull https://github.com/mxm/incubator-beam BEAM-333

Alternatively you can review and apply these changes as the patch at:

    https://github.com/apache/incubator-beam/pull/924.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

    This closes #924
    
----
commit 557f1fe909047a72492faa67c6f7d2d24c3cf729
Author: Maximilian Michels <mxm@apache.org>
Date:   2016-09-06T14:38:43Z

    [BEAM-333][flink] make unbounded sources stoppable

----


> Support "stop" for streaming pipelines
> --------------------------------------
>
>                 Key: BEAM-333
>                 URL: https://issues.apache.org/jira/browse/BEAM-333
>             Project: Beam
>          Issue Type: Bug
>          Components: runner-flink
>            Reporter: Emanuele Cesena
>            Assignee: Maximilian Michels
>
> Run:
> {code}
> $ flink run -c org.apache.beam.runners.flink.examples.streaming.KafkaWindowedWordCountExample
/path/to/fat.jar
> {code}
> The job properly runs. Trying to stop it fails. (Cancelling works fine.)
> {code}
> $ flink list
> ------------------ Running/Restarting Jobs -------------------
> 10.06.2016 06:24:46 : cf004f703cb3d4f89254eedbc04718cc : KafkaExample - WindowSize: 10
seconds (RUNNING)
> --------------------------------------------------------------
> No scheduled jobs.
> $ flink stop cf004f703cb3d4f89254eedbc04718cc
> ------------------------------------------------------------
>  The program finished with the following exception:
> java.lang.Exception: Stopping the job with ID cf004f703cb3d4f89254eedbc04718cc failed.
> 	at org.apache.flink.client.CliFrontend.stop(CliFrontend.java:629)
> 	at org.apache.flink.client.CliFrontend.parseParameters(CliFrontend.java:1201)
> 	at org.apache.flink.client.CliFrontend.main(CliFrontend.java:1243)
> Caused by: java.lang.IllegalStateException: Job with ID cf004f703cb3d4f89254eedbc04718cc
is not stoppable.
> 	at org.apache.flink.runtime.jobmanager.JobManager$$anonfun$handleMessage$1.applyOrElse(JobManager.scala:483)
> 	at scala.runtime.AbstractPartialFunction$mcVL$sp.apply$mcVL$sp(AbstractPartialFunction.scala:33)
> 	at scala.runtime.AbstractPartialFunction$mcVL$sp.apply(AbstractPartialFunction.scala:33)
> 	at scala.runtime.AbstractPartialFunction$mcVL$sp.apply(AbstractPartialFunction.scala:25)
> 	at org.apache.flink.runtime.LeaderSessionMessageFilter$$anonfun$receive$1.applyOrElse(LeaderSessionMessageFilter.scala:36)
> 	at scala.runtime.AbstractPartialFunction$mcVL$sp.apply$mcVL$sp(AbstractPartialFunction.scala:33)
> 	at scala.runtime.AbstractPartialFunction$mcVL$sp.apply(AbstractPartialFunction.scala:33)
> 	at scala.runtime.AbstractPartialFunction$mcVL$sp.apply(AbstractPartialFunction.scala:25)
> 	at org.apache.flink.runtime.LogMessages$$anon$1.apply(LogMessages.scala:33)
> 	at org.apache.flink.runtime.LogMessages$$anon$1.apply(LogMessages.scala:28)
> 	at scala.PartialFunction$class.applyOrElse(PartialFunction.scala:118)
> 	at org.apache.flink.runtime.LogMessages$$anon$1.applyOrElse(LogMessages.scala:28)
> 	at akka.actor.Actor$class.aroundReceive(Actor.scala:465)
> 	at org.apache.flink.runtime.jobmanager.JobManager.aroundReceive(JobManager.scala:107)
> 	at akka.actor.ActorCell.receiveMessage(ActorCell.scala:516)
> 	at akka.actor.ActorCell.invoke(ActorCell.scala:487)
> 	at akka.dispatch.Mailbox.processMailbox(Mailbox.scala:254)
> 	at akka.dispatch.Mailbox.run(Mailbox.scala:221)
> 	at akka.dispatch.Mailbox.exec(Mailbox.scala:231)
> 	at scala.concurrent.forkjoin.ForkJoinTask.doExec(ForkJoinTask.java:260)
> 	at scala.concurrent.forkjoin.ForkJoinPool$WorkQueue.runTask(ForkJoinPool.java:1339)
> 	at scala.concurrent.forkjoin.ForkJoinPool.runWorker(ForkJoinPool.java:1979)
> 	at scala.concurrent.forkjoin.ForkJoinWorkerThread.run(ForkJoinWorkerThread.java:107)
> {code}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message