[ 
https://issues.apache.org/jira/browse/HADOOP-13255?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Xiao Chen updated HADOOP-13255:
-------------------------------
    Attachment: HADOOP-13255.02.patch

Thanks Zhe for the inspiration!
Patch 2 is up for review:
- I think we can move it further up to a place where the KMSClientProvider 
calls converge: {{DelegationTokenAuthenticator#authenticate}}. That's about the 
farthest we can go, since {{KerberosAuthenticator}} would be in hadoop-auth.
- Borrowed your test from HADOOP-12559, hope you don't mind. :)
- Poked around the newly Kerby-backed minikdc. I was able to hack it so that we 
can unit test in a relatively short interval.
- Updated kms test's log4j default to INFO, which can provide enough 
information by default.

Please let me know what you think. If a unit test is not necessary, I can back 
it out and make the patch small.

> KMSClientProvider should check and renew tgt when doing delegation token 
> operations.
> ------------------------------------------------------------------------------------
>
>                 Key: HADOOP-13255
>                 URL: https://issues.apache.org/jira/browse/HADOOP-13255
>             Project: Hadoop Common
>          Issue Type: Bug
>          Components: kms
>            Reporter: Xiao Chen
>            Assignee: Xiao Chen
>         Attachments: HADOOP-13255.01.patch, HADOOP-13255.02.patch
>
>




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

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to