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

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

Hi, [~xintongsong]

What do you think of this idea:

How about this Configure the log path in a specific deployment mode according 
to the specific configuration items in each deployment mode. This configuration 
item is effective for isolation between deployment modes.If there are no valid 
values configured in a specific deployment mode, an attempt is made to read a 
public configuration item that all deployment modes are aware of.

Thank you.

Best,

Roc

> 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