beam-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Maximilian Michels (JIRA)" <j...@apache.org>
Subject [jira] [Resolved] (BEAM-333) Support "stop" for streaming pipelines
Date Fri, 09 Sep 2016 14:14:20 GMT

     [ https://issues.apache.org/jira/browse/BEAM-333?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Maximilian Michels resolved BEAM-333.
-------------------------------------
       Resolution: Fixed
    Fix Version/s: 0.3.0-incubating

Stop is also supported on the latest master.

> 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
>             Fix For: 0.3.0-incubating
>
>
> 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