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 <[email protected]>
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

----


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---

Reply via email to