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

Cesar Alvernaz edited comment on FLINK-12383 at 6/4/19 9:56 PM:
----------------------------------------------------------------

{quote}I could reproduce this issue following the instruction from 
[here|https://ci.apache.org/projects/flink/flink-docs-stable/ops/deployment/kubernetes.html].
  Since the `log.file` property is configured from a system property this 
warning can be fixed by setting the environment to add job manager-specific JVM 
options

{{env:

 - name: FLINK_ENV_JAVA_OPTS
   value: -Dlog.file=/tmp/log}}


was (Author: calvernaz):
I could reproduce this issue following the instruction from 
[here|https://ci.apache.org/projects/flink/flink-docs-stable/ops/deployment/kubernetes.html].
  Since the `log.file` property is configured from a system property this 
warning can be fixed by setting the environment to add job manager-specific JVM 
options

{{
env:

 - name: FLINK_ENV_JAVA_OPTS
   value: -Dlog.file=/tmp/log
}} 

> "Log file environment variable 'log.file' is not set" despite web.log.path 
> being set
> ------------------------------------------------------------------------------------
>
>                 Key: FLINK-12383
>                 URL: https://issues.apache.org/jira/browse/FLINK-12383
>             Project: Flink
>          Issue Type: Bug
>          Components: Runtime / Web Frontend
>    Affects Versions: 1.8.0
>            Reporter: Henrik
>            Priority: Minor
>
> You get these warnings when starting a session cluster, despite having 
> configured all things logs as specified by the configuration reference on the 
> [web 
> site|https://ci.apache.org/projects/flink/flink-docs-release-1.8/ops/config.html#web-frontend]:
> {code:java}
> [job] 2019-05-01 13:25:35,418 WARN  
> org.apache.flink.runtime.webmonitor.WebMonitorUtils           - Log file 
> environment variable 'log.file' is not set.
> [job] 2019-05-01 13:25:35,419 INFO  
> org.apache.flink.runtime.webmonitor.WebMonitorUtils           - Determined 
> location of main cluster component log file: /var/lib/log/flink/jobmanager.log
> [job] 2019-05-01 13:25:35,419 INFO  
> org.apache.flink.runtime.webmonitor.WebMonitorUtils           - Determined 
> location of main cluster component stdout file: 
> /var/lib/log/flink/jobmanager.out
> {code}



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to