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-2873) WebRuntimeMonitor does not start when multiple log files are present
Date Tue, 20 Oct 2015 15:16:27 GMT

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

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

GitHub user mxm opened a pull request:

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

    [FLINK-2873] detect & serve the job manager log files correctly

    When multiple job masters are started or old log files are present, the
    log file could not be served through the web frontend.
    
    This commit determines the log file path through the "log.dir"
    environment variable or the config entry JOB_MANAGER_WEB_LOG_PATH_KEY.
    
    The latter is merely a shortcut for the unit tests or if multiple web
    frontends run inside one VM.

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

    $ git pull https://github.com/mxm/flink FLINK-2873

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

    https://github.com/apache/flink/pull/1271.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 #1271
    
----
commit 32b723df432eb75b06f979c2a3aa387d31894da5
Author: Maximilian Michels <mxm@apache.org>
Date:   2015-10-20T15:07:40Z

    [FLINK-2873] detect & serve the job manager log files correctly
    
    When multiple job masters are started or old log files are present, the
    log file could not be served through the web frontend.
    
    This commit determines the log file path through the "log.dir"
    environment variable or the config entry JOB_MANAGER_WEB_LOG_PATH_KEY.
    
    The latter is merely a shortcut for the unit tests or if multiple web
    frontends run inside one VM.

----


> WebRuntimeMonitor does not start when multiple log files are present
> --------------------------------------------------------------------
>
>                 Key: FLINK-2873
>                 URL: https://issues.apache.org/jira/browse/FLINK-2873
>             Project: Flink
>          Issue Type: Bug
>          Components: JobManager
>    Affects Versions: 0.10
>            Reporter: Till Rohrmann
>            Assignee: Maximilian Michels
>            Priority: Critical
>             Fix For: 0.10
>
>
> The {{WebRuntimeMonitor}} checks that in the given log directory only a single file following
the pattern {{.*jobmanager[^\.]*\.log}} is present. If this is not the case, then the {{WebRuntimeMonitor}}
will fail to start. This is a problem if you have multiple {{JobManager}} started which all
log to the same directory as in the HA case, for example.



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

Mime
View raw message