Thomas Graves created HDFS-12670:
------------------------------------

             Summary: 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


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
(v6.4.14#64029)

---------------------------------------------------------------------
To unsubscribe, e-mail: hdfs-dev-unsubscr...@hadoop.apache.org
For additional commands, e-mail: hdfs-dev-h...@hadoop.apache.org

Reply via email to