Xintong Song created FLINK-15055:
------------------------------------
Summary: YarnDistributedCacheITCase does not generate logs.
Key: FLINK-15055
URL: https://issues.apache.org/jira/browse/FLINK-15055
Project: Flink
Issue Type: Improvement
Components: Deployment / YARN, Tests
Affects Versions: 1.10.0
Reporter: Xintong Song
According to FLINK-14630, in order to properly generate logs, test cases that
use starts cluster with YarnClusterDescriptor on MiniYARNCluster should call
the util function FlinkYarnSessionCli#setLogConfigFileInConfig to set the path
of log4j property file into the configuration.
The YarnDistributedCacheITCase failed to do this.
We probably should also revisit other Yarn IT cases see if there's any other
case that also failed to do this.
A discussable alternative is to make it a default behavior for
YarnClusterDescriptor to always set the default log4j property file, if it can
find one, when the property file is not explicitly configured.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)