[ https://issues.apache.org/jira/browse/HDFS-6662?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14313333#comment-14313333 ]
Akira AJISAKA commented on HDFS-6662: ------------------------------------- Cancelling my +1. Some comments: {code} + private static final String SCAPED_PATH = "hdfs-6662/test%25251%26%3Dtest?op=OPEN"; + private static final String EXPECTED_PATH = "/hdfs-6662/test%251&=test"; {code} The paths look to be used only once, so would you move them into the test method? {code} + Assert.assertTrue(testParser.path().equals(EXPECTED_PATH)); {code} You can use {{Assert.assertEquals(expected, actual)}} instead of {{Assert.assertTrue}} to make the error message clear. > [ 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 > Assignee: Gerson Carlos > Priority: Critical > Attachments: hdfs-6662.001.patch, hdfs-6662.002.patch, 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)