Details
Description
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)
Attachments
Attachments
Issue Links
- blocks
-
SPARK-24493 Kerberos Ticket Renewal is failing in Hadoop 2.8+ and Hadoop 3
-
- Resolved
-