You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@hbase.apache.org by "wuchang (Jira)" <ji...@apache.org> on 2020/05/20 05:19:00 UTC

[jira] [Created] (HBASE-24403) FsDelegationToken should cache Token

wuchang created HBASE-24403:
-------------------------------

             Summary: FsDelegationToken should cache Token
                 Key: HBASE-24403
                 URL: https://issues.apache.org/jira/browse/HBASE-24403
             Project: HBase
          Issue Type: Bug
            Reporter: wuchang


When doing Bulkload, we find that FsDelegationToken will acquire token of NameNode everytime for a single file, although, from the comment of acquireDelegationToken(), it claims that it is trying to find token in cache firstly, but the newly requested token is never put to cache and thus the cache is always empty;

In cases there are many files to do the bulk load, the token request will cause big short to NameNode.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)