[
https://issues.apache.org/jira/browse/HADOOP-11113?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Arun Suresh updated HADOOP-11113:
---------------------------------
Attachment: HADOOP-11113.2.patch
Updating patch:
bq. Re: status codes, 401 requires that the WWW-Authenticate header is set. I
think we're stuck without an appropriate error code here, so we went with 403.
Alejandro Abdelnur might remember this better than me though
[~andrew.wang], makes sense.. updated patch to have {{KMSClientProvider}} check
for 403. unfortunately, this means that the authToken on the client side will
be flushed on ANY unauthorized access (Since no we don't have an error code
differentiating Authentication errors from Authorization errors).
> Namenode not able to reconnect to KMS after KMS restart
> -------------------------------------------------------
>
> Key: HADOOP-11113
> URL: https://issues.apache.org/jira/browse/HADOOP-11113
> Project: Hadoop Common
> Issue Type: Bug
> Components: security
> Reporter: Arun Suresh
> Assignee: Arun Suresh
> Attachments: HADOOP-11113.1.patch, HADOOP-11113.2.patch
>
>
> It is observed that if KMS is restarted without the Namenode being restarted,
> NN will not be able to reconnect with KMS.
> It seems that the KMS auth cookie goes stale and it does not get flushed, so
> the KMSClient in the NN cannot reconnect with the new KMS.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)