[
https://issues.apache.org/jira/browse/HDFS-15474?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=18070744#comment-18070744
]
ASF GitHub Bot commented on HDFS-15474:
---------------------------------------
yoshiata opened a new pull request, #7475:
URL: https://github.com/apache/hadoop/pull/7475
<!--
Thanks for sending a pull request!
1. If this is your first time, please read our contributor guidelines:
https://cwiki.apache.org/confluence/display/HADOOP/How+To+Contribute
2. Make sure your PR title starts with JIRA issue id, e.g.,
'HADOOP-17799. Your PR title ...'.
-->
### Description of PR
JIRA: https://issues.apache.org/jira/browse/HDFS-15474
### How was this patch tested?
Confirm the HttpFS response message in my environment and add unit tests
### For code changes:
- [X] Does the title or this PR starts with the corresponding JIRA issue id
(e.g. 'HADOOP-17799. Your PR title ...')?
- [ ] Object storage: have the integration tests been executed and the
endpoint declared according to the connector-specific documentation?
- [ ] If adding new dependencies to the code, are these dependencies
licensed in a way that is compatible for inclusion under [ASF
2.0](http://www.apache.org/legal/resolved.html#category-a)?
- [ ] If applicable, have you updated the `LICENSE`, `LICENSE-binary`,
`NOTICE-binary` files?
> 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: Yoshiaki Takahashi
> Priority: Major
> Labels: pull-request-available
>
> 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.20.10#820010)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]