[
https://issues.apache.org/jira/browse/HDFS-4056?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13481942#comment-13481942
]
Kan Zhang commented on HDFS-4056:
---------------------------------
{quote}
bq. I don't see a use case where SIMPLE + SIMPLE and SIMPLE + TOKEN need to be
enabled simultaneously
{quote}
My above comment should read "I don't see a use case where SIMPLE + SIMPLE and
SIMPLE + TOKEN need to be CONFIGURED simultaneously."
bq. In the absence of a new config key, the ambiguity introduced by SIMPLE
effectively allows token-free operation.
That's why I suggest earlier there should be 2 config keys, one for initial
auth method and one for subsequent one. And if we have those configs, we can
avoid the unnecessary issuing of NN tokens when SIMPLE + SIMPLE is configured.
> Always start the NN's SecretManager
> -----------------------------------
>
> Key: HDFS-4056
> URL: https://issues.apache.org/jira/browse/HDFS-4056
> Project: Hadoop HDFS
> Issue Type: Improvement
> Components: name-node
> Affects Versions: 0.23.0, 2.0.0-alpha, 3.0.0
> Reporter: Daryn Sharp
> Assignee: Daryn Sharp
> Attachments: HDFS-4056.patch
>
>
> To support the ability to use tokens regardless of whether kerberos is
> enabled, the NN's secret manager should always be started.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira