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

Arun Suresh commented on HADOOP-11122:
--------------------------------------

True.. ZKDTSM does not implement {{updateMasterKey()}}.. It implements 
{{updateDelegationKey()}} which will update the provided key. Technically 
ZKDTSM does not have a "masterKey". Each node that runs a ZKDTSM will encrypt 
with its own key (it is just that during verification a node needs to be aware 
of the key used to create a Token).

I had added the {{updateMasterKey()}} method to 
{{AbstractDelegationTokenSecretManager}} just for completeness (since it has a 
{{storeNewMasterKey()}} method). Looks like none of the current implementations 
need to implement it. Apologize for the confusion.. I can remove it if required 
but I prefer it remain there..

> Fix findbugs and order of key updates Abstract/ZK 
> DelegationTokenSecretManagers 
> --------------------------------------------------------------------------------
>
>                 Key: HADOOP-11122
>                 URL: https://issues.apache.org/jira/browse/HADOOP-11122
>             Project: Hadoop Common
>          Issue Type: Bug
>            Reporter: Karthik Kambatla
>            Assignee: Arun Suresh
>            Priority: Blocker
>
> HADOOP-11017 adds ZK implementation for DelegationTokenSecretManager. This is 
> a follow-up JIRA to address review comments there - findbugs and order of 
> updates to the {{currentKey}}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to