[ 
https://issues.apache.org/jira/browse/FLINK-33513?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17784739#comment-17784739
 ] 

Gabor Somogyi commented on FLINK-33513:
---------------------------------------

If that hurts the solution is not caching but adding a token provider for 
metastore like HiveServer2DelegationTokenProvider.

> Metastore delegation-token can be cached?
> -----------------------------------------
>
>                 Key: FLINK-33513
>                 URL: https://issues.apache.org/jira/browse/FLINK-33513
>             Project: Flink
>          Issue Type: Improvement
>          Components: Connectors / Hive
>            Reporter: katty he
>            Priority: Major
>
> Now, every time, getDelegationToken wil be called when asking for metastore, 
> how about build a cache, we cache the token for the first time, then we can 
> just get token from cache?



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to