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

Takanobu Asanuma commented on HDFS-15474:
-----------------------------------------

It seems an interesting idea. Actually, our cluster has multiple HttpFS 
servers, and they share delegation tokens using a ZooKeeper cluster.

> HttpFS: WebHdfsFileSystem cannot renew an expired delegation token from 
> HttpFS response
> ---------------------------------------------------------------------------------------
>
>                 Key: HDFS-15474
>                 URL: https://issues.apache.org/jira/browse/HDFS-15474
>             Project: Hadoop HDFS
>          Issue Type: Bug
>            Reporter: Takanobu Asanuma
>            Assignee: Takanobu Asanuma
>            Priority: Major
>
> When clients use WebHdfsFileSystem for HttpFS, they cannot renew expired 
> delegation tokens with the following error.
> {noformat}
> org.apache.hadoop.ipc.RemoteException: 
> org.apache.hadoop.security.token.SecretManager$InvalidToken: token 
> (owner=..., renewer=..., realUser=..., issueDate=..., maxDate=..., 
> sequenceNumber=..., masterKeyId=...) is expired
>         at 
> org.apache.hadoop.hdfs.web.JsonUtilClient.toRemoteException(JsonUtilClient.java:89)
>         at 
> org.apache.hadoop.hdfs.web.WebHdfsFileSystem.validateResponse(WebHdfsFileSystem.java:509)
>         ...
> {noformat}
> When using WebHdfsFileSystem for NameNode, it succeeds. This is because the 
> response of HttpFS is different from its of NameNode. We should fix the 
> response of HttpFS.
> This issue is reported by Masayuki Yatagawa.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

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

Reply via email to