You are viewing a plain text version of this content. The canonical link for it is here.
Posted to hdfs-issues@hadoop.apache.org by "Bharat Viswanadham (JIRA)" <ji...@apache.org> on 2018/06/08 21:58:00 UTC

[jira] [Comment Edited] (HDFS-12670) can't renew HDFS tokens with only the hdfs client jar

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

Bharat Viswanadham edited comment on HDFS-12670 at 6/8/18 9:57 PM:
-------------------------------------------------------------------

+1 LGTM, pending jenkins.

 


was (Author: bharatviswa):
+1 LGTM.

 

> 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
>         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-unsubscribe@hadoop.apache.org
For additional commands, e-mail: hdfs-issues-help@hadoop.apache.org