You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hbase.apache.org by GitBox <gi...@apache.org> on 2020/05/21 11:21:02 UTC

[GitHub] [hbase] VicoWu commented on pull request #1743: HBASE-24403 FsDelegationToken should cache token after acquired a new one

VicoWu commented on pull request #1743:
URL: https://github.com/apache/hbase/pull/1743#issuecomment-632031498


   @jojochuang 
   This issue is found by our cluster incident. 
   But my current commit still has some problem which need to be resolved before finally adopted:
   
   In this PR,  I cache the token between RS and NameNode  instead of always applying for a new one every time processing a file, so the token should be confirmed that it is not expired every time we use it;
   So I think I need to add a check logic to verify its expiration time , if it is already or going to be expired, I will have to apply for a new one and overwrite the cache;
   


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

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