You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@flink.apache.org by "Kostas Kloudas (Jira)" <ji...@apache.org> on 2020/05/26 13:10:00 UTC
[jira] [Comment Edited] (FLINK-17935) Logs could not show up when
deploying Flink on Yarn via "--executor"
[ https://issues.apache.org/jira/browse/FLINK-17935?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17116715#comment-17116715 ]
Kostas Kloudas edited comment on FLINK-17935 at 5/26/20, 1:09 PM:
------------------------------------------------------------------
I already have a branch for this one. [~fly_in_gis] and [~Echo Lee] I think that the {{setLogConfigFileInConfig}} should go to the {{YarnClusterClientFactory.createClusterDescriptor()}} and remove it from anywhere else, so that we do not spread it everywhere in the codebase.
was (Author: kkl0u):
I already have a branch for this one. [~Echo Lee] I think that the {{setLogConfigFileInConfig}} should go to the {{YarnClusterClientFactory.createClusterDescriptor()}} so that we do not spread it everywhere in the codebase.
> Logs could not show up when deploying Flink on Yarn via "--executor"
> --------------------------------------------------------------------
>
> Key: FLINK-17935
> URL: https://issues.apache.org/jira/browse/FLINK-17935
> Project: Flink
> Issue Type: Bug
> Components: Deployment / YARN
> Affects Versions: 1.11.0, 1.12.0
> Reporter: Yang Wang
> Assignee: Kostas Kloudas
> Priority: Critical
> Fix For: 1.11.0
>
>
> {code:java}
> ./bin/flink run -d -p 5 -e yarn-per-job examples/streaming/WindowJoin.jar{code}
> When we use the {{-e/--executor}} to specify the deploy target to Yarn per-job, the logs could not show up. The root cause is we do not set the logging files in {{ExecutorCLI}}. We only do it in the {{FlinkYarnSessionCli}}.
> If we use {{-m yarn-cluster}}, everything works well.
>
> Maybe we should move the {{setLogConfigFileInConfig}} to {{YarnClusterDescriptor}} to avoid this problem. cc [~kkl0u]
--
This message was sent by Atlassian Jira
(v8.3.4#803005)