Xiaoyu Yao created HDFS-12728:
---------------------------------

             Summary: Improve KMSClientProvider log around delegation token 
checking
                 Key: HDFS-12728
                 URL: https://issues.apache.org/jira/browse/HDFS-12728
             Project: Hadoop HDFS
          Issue Type: Bug
    Affects Versions: 2.7.3
            Reporter: Xiaoyu Yao
            Assignee: Xiaoyu Yao


KMSClientProvider#containsKmsDt uses SecurityUtil.buildTokenService(addr) to 
build the key to look for KMS-DT from the UGI's token map. The token lookup key 
here varies depending  on the KMSClientProvider's configuration value for 
hadoop.security.token.service.use_ip. In certain cases, the token obtained with 
non-matching hadoop.security.token.service.use_ip setting will not be 
recognized by KMSClientProvider. This ticket is opened to improve logs for 
troubleshooting KMS delegation token related issues like this.  




--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

---------------------------------------------------------------------
To unsubscribe, e-mail: hdfs-dev-unsubscr...@hadoop.apache.org
For additional commands, e-mail: hdfs-dev-h...@hadoop.apache.org

Reply via email to