Details
-
Bug
-
Status: Resolved
-
Major
-
Resolution: Duplicate
-
3.1.1
-
None
-
None
Description
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.
Attachments
Attachments
Issue Links
- Is contained by
-
HDFS-14379 WebHdfsFileSystem.toUrl double encodes characters
- Resolved