You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@flink.apache.org by GitBox <gi...@apache.org> on 2021/08/23 12:23:14 UTC
[GitHub] [flink] hameizi commented on a change in pull request #16806: [FLINK-23763][Deployment/YARN]Use yarn config in sql but not yarn mag…
hameizi commented on a change in pull request #16806:
URL: https://github.com/apache/flink/pull/16806#discussion_r693922621
##########
File path: flink-yarn/src/main/java/org/apache/flink/yarn/YarnClusterClientFactory.java
##########
@@ -81,6 +91,57 @@ private YarnClusterDescriptor getClusterDescriptor(Configuration configuration)
yarnClient.init(yarnConfiguration);
yarnClient.start();
+ if (configuration.contains(YarnConfigOptions.APPLICATION_NAME)) {
+ try {
+ Set<String> applicationTypes = Sets.newHashSet();
+ applicationTypes.add("Apache Flink");
Review comment:
Yes, it's a wrong code, i will fix it.
--
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: issues-unsubscribe@flink.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org