flink-issues 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] (FLINK-2409) Old JM web interface is sending cancel messages w/o leader ID
Date Thu, 30 Jul 2015 15:00:05 GMT

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

ASF GitHub Bot commented on FLINK-2409:
---------------------------------------

GitHub user tillrohrmann opened a pull request:

    https://github.com/apache/flink/pull/959

    [FLINK-2409] [webserver] Replaces ActorRefs with ActorGateways in the web servers

    Replaces the `ActorRefs` used in the `WebInfoServer`, its servlets and the `WebRuntimeMonitor`
with `ActorGateways`. This provides automatic message decoration. E.g. `Cancel` messages sent
from the web interface are now correctly wrapped in a `LeaderSessionMessage` and, thus, no
longer make the `JobManager` stop upon receiving the undecorated message.
    
    Furthermore, this PR adds support for the new web interface with YARN.
    
    The `FlinkMiniCluster` and its subclasses store now a reference to a possibly started
`WebMonitor` which allows the cluster to properly shut it down, when the cluster is stopped.

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

    $ git pull https://github.com/tillrohrmann/flink fixWebInterface

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

    https://github.com/apache/flink/pull/959.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 #959
    
----
commit 4c26f1af95be300ffb7ed8db408cf3d5f395d064
Author: Till Rohrmann <trohrmann@apache.org>
Date:   2015-07-29T16:03:52Z

    [FLINK-2409] [webserver] Replaces ActorRefs with ActorGateways in the web server to automatically
decorate messages with a leader session ID.
    
    Refactored MiniCluster to also store a reference to the web server to stop it. Adds support
for the new web interface for yarn
    
    Fix web server start condition

----


> Old JM web interface is sending cancel messages w/o leader ID
> -------------------------------------------------------------
>
>                 Key: FLINK-2409
>                 URL: https://issues.apache.org/jira/browse/FLINK-2409
>             Project: Flink
>          Issue Type: Bug
>          Components: Webfrontend
>    Affects Versions: 0.10
>            Reporter: Robert Metzger
>            Assignee: Till Rohrmann
>
> {code}
> 12:29:41,877 ERROR akka.actor.OneForOneStrategy                                  - Received
a message CancelJob(4b3631741c344881362ea46e29980ce4) without a leader session ID, even though
it requires to have one.
> java.lang.Exception: Received a message CancelJob(4b3631741c344881362ea46e29980ce4) without
a leader session ID, even though it requires to have one.
>         at org.apache.flink.runtime.LeaderSessionMessages$$anonfun$receive$1.applyOrElse(LeaderSessionMessages.scala:49)
>         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:101)
>         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)
> 12:29:41,879 INFO  org.apache.flink.runtime.jobmanager.JobManager                - Stopping
JobManager akka://flink/user/jobmanager#-638215033.
> {code}



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

Mime
View raw message