You are viewing a plain text version of this content. The canonical link for it is here.
Posted to hdfs-dev@hadoop.apache.org by "Takanobu Asanuma (Jira)" <ji...@apache.org> on 2020/07/17 07:17:00 UTC

[jira] [Created] (HDFS-15474) HttpFS: WebHdfsFileSystem cannot renew an expired delegation token from HttpFS response

Takanobu Asanuma created HDFS-15474:
---------------------------------------

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


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