[
https://issues.apache.org/jira/browse/HDFS-3268?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13252853#comment-13252853
]
Todd Lipcon commented on HDFS-3268:
-----------------------------------
lgtm, except a typo in this comment:
{code}
+ * Get a canonical token service name for this client's tokens. Null should
+ * tokens if the client is not using tokens.
{code}
> Hdfs mishandles token service & incompatible with HA
> ----------------------------------------------------
>
> Key: HDFS-3268
> URL: https://issues.apache.org/jira/browse/HDFS-3268
> Project: Hadoop HDFS
> Issue Type: Bug
> Components: ha, hdfs client
> Affects Versions: 0.24.0, 2.0.0
> Reporter: Daryn Sharp
> Assignee: Daryn Sharp
> Priority: Critical
> Attachments: HDFS-3268.patch
>
>
> The {{Hdfs AbstractFileSystem}} is overwriting the token service set by the
> {{DFSClient}}. The service is not necessarily the correct one since
> {{DFSClient}} is responsible for the service. Most importantly, this
> improper behavior is overwriting the HA logical service which indirectly
> renders {{FileContext}} incompatible with HA.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira