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

RocMarshal commented on FLINK-17677:
------------------------------------

Hi, [~xintongsong],

Yes, your understanding is precise.

The reasons for my comment are as follows:

Increase configuration compatibility, configuration level priority, and log 
isolation.
For example, in yarn mode, if we use the same directory configuration, but the 
log name is not distinguished, it will cause confusion. Of course, if we use 
the "userlogs" path of the yarn cluster itself, it will not cause such a 
problem.
Maybe my idea is too simple, thank you very much for your reply.

> FLINK_LOG_PREFIX recommended in docs is not always available
> ------------------------------------------------------------
>
>                 Key: FLINK-17677
>                 URL: https://issues.apache.org/jira/browse/FLINK-17677
>             Project: Flink
>          Issue Type: Bug
>          Components: Documentation
>    Affects Versions: 1.9.3, 1.10.1, 1.11.0
>            Reporter: Xintong Song
>            Priority: Major
>             Fix For: 1.11.0, 1.10.2, 1.9.4
>
>
> The [Application Profiling & 
> Debugging|https://ci.apache.org/projects/flink/flink-docs-master/monitoring/application_profiling.html]
>  documentation recommend to use the script variable {{FLINK_LOG_PREFIX}} for 
> defining log file paths. However, this variable is only available in 
> standalone mode. This is a bit misleading for users of other deployments (see 
> this 
> [thread|http://apache-flink-user-mailing-list-archive.2336050.n4.nabble.com/Flink-Memory-analyze-on-AWS-EMR-td35036.html]).
> I propose to replace {{FLINK_LOG_PREFIX}} with a general representation 
> {{<your-log-path>}}, and add a separate section to discuss how to set the log 
> path (e.g., use {{FLINK_LOG_PREFIX}} with standalone deployments and 
> {{<LOG_DIR>}} with Yarn deployments).



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to