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


##########
flink-runtime/src/main/java/org/apache/flink/runtime/security/token/DefaultDelegationTokenManager.java:
##########
@@ -213,6 +213,20 @@ public void 
obtainDelegationTokens(DelegationTokenContainer container) throws Ex
         LOG.info("Delegation tokens obtained successfully");
     }
 
+    @Override
+    public void obtainDelegationTokens() throws Exception {

Review Comment:
   We need to the immediately propagate the existing tokens (fetched here) to 
Task managers once start function is called. Otherwise, I see No credential 
error in task manager. I guess it is due to the latency of additional token 
fetching in startTokenUpdate function. 



-- 
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