hadoop-hdfs-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Daryn Sharp (Commented) (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HDFS-3255) HA DFS returns wrong token service
Date Thu, 12 Apr 2012 15:15:17 GMT

    [ https://issues.apache.org/jira/browse/HDFS-3255?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13252480#comment-13252480

Daryn Sharp commented on HDFS-3255:

I found the problem while reviewing the code for host-based tokens and then confirmed it was
a problem via the unit tests.  Proper handling of the service is very important.  The service
is used to determine whether a token is already acquired.

I can see if I can use Jitendra's feature to enable security for a unit test if you'd like.
> HA DFS returns wrong token service
> ----------------------------------
>                 Key: HDFS-3255
>                 URL: https://issues.apache.org/jira/browse/HDFS-3255
>             Project: Hadoop HDFS
>          Issue Type: Bug
>          Components: ha, hdfs client
>    Affects Versions: 2.0.0
>            Reporter: Daryn Sharp
>            Assignee: Daryn Sharp
>            Priority: Critical
>         Attachments: HDFS-3255.patch
> {{fs.getCanonicalService()}} must be equal to {{fs.getDelegationToken(renewer).getService()}}.
 When HA is enabled, the DFS token's service is a logical uri, but {{dfs.getCanonicalService()}}
is only returning the hostname of the logical uri.

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


View raw message