[jira] [Commented] (FLINK-2873) WebRuntimeMonitor does not start when multiple log files are present

2015-10-20 Thread ASF GitHub Bot (JIRA)

[ 
https://issues.apache.org/jira/browse/FLINK-2873?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=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 
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)


[jira] [Commented] (FLINK-2873) WebRuntimeMonitor does not start when multiple log files are present

2015-10-20 Thread ASF GitHub Bot (JIRA)

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

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

Github user mxm closed the pull request at:

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


> 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)