[
https://issues.apache.org/jira/browse/HDFS-6662?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14245919#comment-14245919
]
Gerson Carlos commented on HDFS-6662:
-------------------------------------
I was able to reproduce the bug on the latest 3.0.0 code from the git repo.
It looks like the uri wasn't being properly encoded before send the request,
i.e., % should be converted to %25. So, I added to explorer.js an encoding
command.
But after that, the datanode broke when answering, because it wasn't decoding
the uris. To fix that, I added to ParameterParser.java the decoding command
from QueryStringDecoder.
See the attached hdfs-6662.patch for the diff code.
> [ UI ] Not able to open file from UI if file path contains "%"
> --------------------------------------------------------------
>
> Key: HDFS-6662
> URL: https://issues.apache.org/jira/browse/HDFS-6662
> Project: Hadoop HDFS
> Issue Type: Bug
> Components: namenode
> Affects Versions: 2.4.1
> Reporter: Brahma Reddy Battula
> Priority: Critical
> Attachments: hdfs-6662.patch
>
>
> 1. write a file into HDFS is such a way that, file name is like 1%2%3%4
> 2. using NameNode UI browse the file
> throwing following Exception.
> "Path does not exist on HDFS or WebHDFS is disabled. Please check your path
> or enable WebHDFS"
> HBase write its WAL files data in HDFS using % contains in file name
> eg:
> /hbase/WALs/HOST-****,60020,1404731504691/HOST-***-130%2C60020%2C1404731504691.1404812663950.meta
>
> the above file info is not opening in the UI.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)