[
https://issues.apache.org/jira/browse/HDFS-14408?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Wei-Chiu Chuang resolved HDFS-14408.
------------------------------------
Resolution: Duplicate
> HttpFS handles paths with special charactes different than WebHdfs
> ------------------------------------------------------------------
>
> Key: HDFS-14408
> URL: https://issues.apache.org/jira/browse/HDFS-14408
> Project: Hadoop HDFS
> Issue Type: Bug
> Components: httpfs
> Affects Versions: 3.1.1
> Reporter: Andrey Zinovyev
> Priority: Major
> Attachments: httpfs-special-fix.patch, httpfs-special-test.patch
>
>
> After HDFS-13176 WebHdfsFileSystem encodes special characters twice. For
> example path _/tmp/day=2018-01-01_ becomes
> _/webhdfs/v1/tmp/day%253D2018-01-01_ call.
> In NamenodeWebHdfsMethods it is handled by decode path twice (first by web
> server and then in code explicityly).
> But if we use httpfs it fails to get paths with special characters (like
> `=`), cause it decodes path once.
> Test to reproduce and simple fix in attachment. Although I think that double
> encoding doesn't look right.
--
This message was sent by Atlassian JIRA
(v7.6.14#76016)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]