zentol commented on code in PR #19626:
URL: https://github.com/apache/flink/pull/19626#discussion_r863020953


##########
flink-yarn-tests/src/test/java/org/apache/flink/yarn/YarnTestBase.java:
##########
@@ -396,11 +397,12 @@ YarnClusterDescriptor createYarnClusterDescriptor(
     YarnClusterDescriptor createYarnClusterDescriptorWithoutLibDir(
             org.apache.flink.configuration.Configuration flinkConfiguration) {
         final YarnClusterDescriptor yarnClusterDescriptor =
-                YarnTestUtils.createClusterDescriptorWithLogging(
-                        tempConfPathForSecureRun.getAbsolutePath(),
-                        flinkConfiguration,
+                new YarnClusterDescriptor(
+                        YarnLogConfigUtil.setLogConfigFileInConfig(

Review Comment:
   This is a simple refactoring to use production code. TBH I'm not sure why 
`YarnTestUtils.createClusterDescriptorWithLogging` exists in the first place.



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to