Affects Version/s: 3.1.1
Fix Version/s: None
We're using Hadoop 3.1.1 at the moment and have an issue with the handling of paths that contain plus signs (generated by Kafka HDFS Connector).
For example, I created this example directory tmp/plus+plus
When trying to list this folder through WebHDFS the naive way:
Fair enough, the plus sign + is a special character in URLs, let's encode it as %2B:
After some trial and error I found that I could get it working by encode the thing twice ("+" -> "%2B" -> "%252B"):
Seems like there is some double decoding going on in WebHDFS REST API.
I also tried with some other special characters like @ and =, and for these it seems to work both when encoding once (%40 and %3D respectively) and encoding twice (%2540 and %253D respectively)