[ https://issues.apache.org/jira/browse/HDFS-12670?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Arpit Agarwal updated HDFS-12670: --------------------------------- Resolution: Fixed Hadoop Flags: Reviewed Fix Version/s: 3.0.4 3.1.1 3.2.0 Target Version/s: (was: 3.2.0, 3.1.1, 3.0.4) Status: Resolved (was: Patch Available) I've committed this. Thanks for the review and the pointers on fixing this [~bharatviswa]. > 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: hdfs-issues-unsubscr...@hadoop.apache.org For additional commands, e-mail: hdfs-issues-h...@hadoop.apache.org