gaborgsomogyi commented on code in PR #22298:
URL: https://github.com/apache/flink/pull/22298#discussion_r1154481057


##########
flink-runtime/src/main/java/org/apache/flink/runtime/minicluster/MiniCluster.java:
##########
@@ -418,6 +418,21 @@ public void start() throws Exception {
                                 
ClusterEntrypointUtils.getPoolSize(configuration),
                                 new ExecutorThreadFactory("mini-cluster-io"));
 
+                delegationTokenManager =
+                        DefaultDelegationTokenManagerFactory.create(
+                                configuration,
+                                miniClusterConfiguration.getPluginManager(),
+                                commonRpcService.getScheduledExecutor(),
+                                ioExecutor);
+                // Obtaining delegation tokens and propagating them to the 
local JVM receivers in a
+                // one-time fashion is required because BlobServer may connect 
to external file
+                // systems
+                delegationTokenManager.obtainDelegationTokens();

Review Comment:
   Added that we obtain tokens in `ClusterEntrypointTest` but it would be 
overkill to check that token obtain happens before HA services.



-- 
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-unsubscr...@flink.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to