zentol commented on a change in pull request #15553:
URL: https://github.com/apache/flink/pull/15553#discussion_r611564187
##########
File path:
flink-runtime/src/main/java/org/apache/flink/runtime/externalresource/ExternalResourceUtils.java
##########
@@ -116,10 +117,25 @@ private ExternalResourceUtils() {
return externalResourceConfigs;
}
+ /**
+ * Instantiate {@link StaticExternalResourceInfoProvider} for all of
enabled external resources.
+ */
+ public static ExternalResourceInfoProvider
createStaticExternalResourceInfoProviderFromConfig(
+ Configuration configuration, PluginManager pluginManager) {
+
+ final Map<String, Long> externalResourceAmountMap =
+ getExternalResourceAmountMap(configuration);
+ LOG.info("Enabled external resources: {}",
externalResourceAmountMap.keySet());
Review comment:
https://issues.apache.org/jira/browse/FLINK-22240
--
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]