gaborgsomogyi commented on a change in pull request #18664: URL: https://github.com/apache/flink/pull/18664#discussion_r803613571
########## File path: flink-runtime/src/main/java/org/apache/flink/runtime/resourcemanager/ResourceManager.java ########## @@ -205,6 +212,14 @@ public ResourceManager( this.ioExecutor = ioExecutor; this.startedFuture = new CompletableFuture<>(); + + checkNotNull(configuration, "Flink configuration must not be null"); + this.delegationTokenManager = + configuration.getBoolean(SecurityOptions.KERBEROS_FETCH_DELEGATION_TOKEN) + && HadoopDependency.isHadoopCommonOnClasspath( + getClass().getClassLoader()) + ? Optional.of(new DelegationTokenManager(configuration)) + : Optional.empty(); Review comment: Done together w/ the interface. -- 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