Details
-
Improvement
-
Status: Closed
-
Minor
-
Resolution: Not A Problem
-
1.10.0
-
None
Description
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.
Attachments
Issue Links
- causes
-
FLINK-15047 YarnDistributedCacheITCase is unstable
- Closed
- is caused by
-
FLINK-14033 Distributed caches are not registered in Yarn Per Job Cluster Mode
- Closed
- relates to
-
FLINK-14630 Yarn tests no longer create jobmanager log files
- Closed