TisonKun commented on a change in pull request #10251:
[FLINK-14851][FLINK-14850] Implement Executors and wire them to the
ContextEnvironment
URL: https://github.com/apache/flink/pull/10251#discussion_r347902048
##########
File path:
flink-yarn/src/main/java/org/apache/flink/yarn/cli/FlinkYarnSessionCli.java
##########
@@ -416,7 +416,9 @@ private void applyDescriptorOptionToConfig(final
CommandLine commandLine, final
}
final String dynamicPropertiesEncoded =
encodeDynamicProperties(commandLine);
-
configuration.setString(YarnConfigOptionsInternal.DYNAMIC_PROPERTIES,
dynamicPropertiesEncoded);
+ if (dynamicPropertiesEncoded != null &&
!dynamicPropertiesEncoded.isEmpty()) {
Review comment:
Is it a relevant diff(i.e., cause tests fail) or just improving on the fly?
I'm ok with on the fly improvement but to be clear.
----------------------------------------------------------------
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.
For queries about this service, please contact Infrastructure at:
[email protected]
With regards,
Apache Git Services