HuangZhenQiu commented on PR #26101:
URL: https://github.com/apache/flink/pull/26101#issuecomment-2634923756

   > Correct me if I'm wrong but if I understand correctly then you guys inject 
external tokens into the UGI which then you would expect to be maintained by 
Flink, right? If that's true then:
   > 
   > * We can take them over in `YarnClusterDescriptor.setTokensFor`
   > * but don't expect that the responsibility of them will be taken over by 
the internal framework
   > 
   > If you need something like that then I would create a new 
provider/receiver pair for the custom need where the externally generated 
tokens are externally updated, the new receiver can detect it, triggers a 
manager cycle and then then the provider updates it.
   
   From the Flink error log, the token needed is for checkpoint. It means the 
token is mainly used for HDFS. That is why I want to use 
HadoopFSDelegationTokenProvider to refresh it within the internal framework. 


-- 
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: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to