You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@flink.apache.org by "ASF GitHub Bot (JIRA)" <ji...@apache.org> on 2015/10/21 15:58:27 UTC

[jira] [Commented] (FLINK-2878) JobManager warns: Unexpected leader address pattern

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

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

GitHub user tillrohrmann opened a pull request:

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

    [FLINK-2878] [webmonitor] Fix unexpected leader address pattern

    The HandlerRedirectUtils.getRedirectAddress decides whether the retrieved leader address is equal to the local job manager address. The local job manager address is, however, in the form akka.tcp://flink@url/user/jobmanager whereas the leader address can be akka://flink/user/jobmanager if the local job manager is the current leader. Such a case produced a warning which is not correct. This PR checks for the local job manager address and signals that no redirection has to be done if it receives akka://flink/user/jobmanager.

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

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

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

    https://github.com/apache/flink/pull/1280.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 #1280
    
----
commit c5e09728f48510100e741230903bd7f354f9770f
Author: Till Rohrmann <tr...@apache.org>
Date:   2015-10-21T13:35:02Z

    [FLINK-2878] [webmonitor] Fix unexpected leader address pattern
    
    The HandlerRedirectUtils.getRedirectAddress decides whether the retrieved leader address is equal to the local job manager address. The local job manager address is, however, in the form akka.tcp://flink@url/user/jobmanager whereas the leader address can be akka://flink/user/jobmanager if the local job manager is the current leader. Such a case produced a warning which is not correct. This PR checks for the local job manager address and signals that no redirection has to be done if it receives akka://flink/user/jobmanager.

----


> JobManager warns: Unexpected leader address pattern
> ---------------------------------------------------
>
>                 Key: FLINK-2878
>                 URL: https://issues.apache.org/jira/browse/FLINK-2878
>             Project: Flink
>          Issue Type: Bug
>          Components: JobManager
>    Affects Versions: 0.10
>            Reporter: Maximilian Michels
>            Assignee: Till Rohrmann
>            Priority: Minor
>             Fix For: 0.10
>
>
> The JobManager log shows this multiple times when viewing the log through the web frontend:
> {noformat}
> 16:58:37,201 WARN  org.apache.flink.runtime.webmonitor.handlers.HandlerRedirectUtils  - Unexpected leader address pattern akka://flink/user/jobmanager. Cannot extract host.
> {noformat}



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