[
https://issues.apache.org/jira/browse/HDFS-12670?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16506762#comment-16506762
]
Hudson commented on HDFS-12670:
-------------------------------
SUCCESS: Integrated in Jenkins build Hadoop-trunk-Commit #14394 (See
[https://builds.apache.org/job/Hadoop-trunk-Commit/14394/])
HDFS-12670. can't renew HDFS tokens with only the hdfs client jar. (arp: rev
000a67839666bf7cb39d3955757bb05fa95f1b18)
* (add)
hadoop-hdfs-project/hadoop-hdfs-client/src/main/resources/META-INF/services/org.apache.hadoop.security.token.TokenIdentifier
* (delete)
hadoop-hdfs-project/hadoop-hdfs/src/main/resources/META-INF/services/org.apache.hadoop.security.token.TokenIdentifier
* (add)
hadoop-hdfs-project/hadoop-hdfs-client/src/main/resources/META-INF/services/org.apache.hadoop.security.token.TokenRenewer
* (delete)
hadoop-hdfs-project/hadoop-hdfs/src/main/resources/META-INF/services/org.apache.hadoop.security.token.TokenRenewer
> can't renew HDFS tokens with only the hdfs client jar
> -----------------------------------------------------
>
> Key: HDFS-12670
> URL: https://issues.apache.org/jira/browse/HDFS-12670
> Project: Hadoop HDFS
> Issue Type: Bug
> Affects Versions: 2.8.1
> Reporter: Thomas Graves
> Assignee: Arpit Agarwal
> Priority: Critical
> Fix For: 3.2.0, 3.1.1, 3.0.4
>
> Attachments: HDFS-12670.01.patch, HDFS-12670.02.patch
>
>
> It looks like the meta inf file for the hdfs token renewer is in the
> hadoop-hdfs.jar rather then the hadoop-hdfs-client.jar. This prevents a
> client from renewing a token because the service loader doesn't find the
> DFSClient Renewer class and falls back to use the TrivialRenewer.
> You get an error like:
> 17/10/16 21:08:15 WARN Token: No TokenRenewer defined for token kind
> HDFS_DELEGATION_TOKEN
> Exception in thread “main” java.lang.UnsupportedOperationException: Token
> renewal is not supported for HDFS_DELEGATION_TOKEN tokens
> at
> org.apache.hadoop.security.token.Token$TrivialRenewer.renew(Token.java:497)
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]