Hadoop HDFS
  1. Hadoop HDFS
  2. HDFS-6662

WebHDFS cannot open a file if its path contains "%"

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Critical Critical
    • Resolution: Fixed
    • Affects Version/s: 2.4.1
    • Fix Version/s: 2.7.0
    • Component/s: namenode
    • Labels:
      None
    • Target Version/s:
    • Hadoop Flags:
      Reviewed

      Description

      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.

      1. hdfs-6662.001.patch
        2 kB
        Gerson Carlos
      2. hdfs-6662.002.patch
        3 kB
        Gerson Carlos
      3. hdfs-6662.003.patch
        3 kB
        Gerson Carlos
      4. hdfs-6662.004.patch
        3 kB
        Gerson Carlos
      5. hdfs-6662.patch
        1 kB
        Gerson Carlos

        Issue Links

          Activity

          Hide
          Gerson Carlos added a comment -

          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.

          Show
          Gerson Carlos added a comment - 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.
          Hide
          Haohui Mai added a comment -
          +    abs_path = encodeURI(abs_path);
               var url = '/webhdfs/v1' + abs_path + '?op=GET_BLOCK_LOCATIONS';
          

          I think it should be encodeURIComponent() instead of encodeURI().

          Can you add a unit test to ensure that the DN decodes the path correctly?

          Show
          Haohui Mai added a comment - + abs_path = encodeURI(abs_path); var url = '/webhdfs/v1' + abs_path + '?op=GET_BLOCK_LOCATIONS'; I think it should be encodeURIComponent() instead of encodeURI() . Can you add a unit test to ensure that the DN decodes the path correctly?
          Hide
          Gerson Carlos added a comment -

          Thanks Haohui for noticing it.

          In fact, I had to add encodeURIComponent() with some adjustments, because it encodes even the separator /, thus broking the URI. But now it treats the slash and other reserved characters (&, =, +, for example) as well.

          This update is on the second patch version. I pretend to also add the unit test soon.

          Show
          Gerson Carlos added a comment - Thanks Haohui for noticing it. In fact, I had to add encodeURIComponent() with some adjustments, because it encodes even the separator / , thus broking the URI. But now it treats the slash and other reserved characters (&, =, +, for example) as well. This update is on the second patch version. I pretend to also add the unit test soon.
          Hide
          Gerson Carlos added a comment -

          I've added a unit test to ensure that the decoding is correct. I'm attaching a new patch with this update.

          Show
          Gerson Carlos added a comment - I've added a unit test to ensure that the decoding is correct. I'm attaching a new patch with this update.
          Hide
          Akira AJISAKA added a comment -

          Looks good to me. +1 pending Jenkins.

          • Built a cluster with the patch.
          • Created some files including %, &, + and =.
          • Confirmed the WebUI worked well with the paths.
          Show
          Akira AJISAKA added a comment - Looks good to me. +1 pending Jenkins. Built a cluster with the patch. Created some files including %, &, + and =. Confirmed the WebUI worked well with the paths.
          Hide
          Akira AJISAKA added a comment -

          Cancelling my +1. Some comments:

          +  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";
          

          The paths look to be used only once, so would you move them into the test method?

          +     Assert.assertTrue(testParser.path().equals(EXPECTED_PATH));
          

          You can use Assert.assertEquals(expected, actual) instead of Assert.assertTrue to make the error message clear.

          Show
          Akira AJISAKA added a comment - Cancelling my +1. Some comments: + 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" ; The paths look to be used only once, so would you move them into the test method? + Assert.assertTrue(testParser.path().equals(EXPECTED_PATH)); You can use Assert.assertEquals(expected, actual) instead of Assert.assertTrue to make the error message clear.
          Hide
          Brahma Reddy Battula added a comment -

          HI Gerson Carlos
          can you please adress Akira AJISAKA comments..?

          Show
          Brahma Reddy Battula added a comment - HI Gerson Carlos can you please adress Akira AJISAKA comments..?
          Hide
          Gerson Carlos added a comment -

          Hi, yeah, I'll upload a new version of the patch with the changes soon.

          Show
          Gerson Carlos added a comment - Hi, yeah, I'll upload a new version of the patch with the changes soon.
          Hide
          Gerson Carlos added a comment -

          Thanks for noticing it. I'll update the patch.

          Show
          Gerson Carlos added a comment - Thanks for noticing it. I'll update the patch.
          Hide
          Gerson Carlos added a comment -

          I've upload the third version of the patch with Akira AJISAKA suggestions.

          Just let me know if you have any more tips.

          Show
          Gerson Carlos added a comment - I've upload the third version of the patch with Akira AJISAKA suggestions. Just let me know if you have any more tips.
          Hide
          Hadoop QA added a comment -

          -1 overall. Here are the results of testing the latest attachment
          http://issues.apache.org/jira/secure/attachment/12699134/hdfs-6662.003.patch
          against trunk revision 556386a.

          +1 @author. The patch does not contain any @author tags.

          +1 tests included. The patch appears to include 1 new or modified test files.

          +1 javac. The applied patch does not increase the total number of javac compiler warnings.

          +1 javadoc. There were no new javadoc warning messages.

          +1 eclipse:eclipse. The patch built with eclipse:eclipse.

          +1 findbugs. The patch does not introduce any new Findbugs (version 2.0.3) warnings.

          +1 release audit. The applied patch does not increase the total number of release audit warnings.

          -1 core tests. The patch failed these unit tests in hadoop-hdfs-project/hadoop-hdfs:

          org.apache.hadoop.hdfs.server.namenode.ha.TestRetryCacheWithHA

          Test results: https://builds.apache.org/job/PreCommit-HDFS-Build/9591//testReport/
          Console output: https://builds.apache.org/job/PreCommit-HDFS-Build/9591//console

          This message is automatically generated.

          Show
          Hadoop QA added a comment - -1 overall . Here are the results of testing the latest attachment http://issues.apache.org/jira/secure/attachment/12699134/hdfs-6662.003.patch against trunk revision 556386a. +1 @author . The patch does not contain any @author tags. +1 tests included . The patch appears to include 1 new or modified test files. +1 javac . The applied patch does not increase the total number of javac compiler warnings. +1 javadoc . There were no new javadoc warning messages. +1 eclipse:eclipse . The patch built with eclipse:eclipse. +1 findbugs . The patch does not introduce any new Findbugs (version 2.0.3) warnings. +1 release audit . The applied patch does not increase the total number of release audit warnings. -1 core tests . The patch failed these unit tests in hadoop-hdfs-project/hadoop-hdfs: org.apache.hadoop.hdfs.server.namenode.ha.TestRetryCacheWithHA Test results: https://builds.apache.org/job/PreCommit-HDFS-Build/9591//testReport/ Console output: https://builds.apache.org/job/PreCommit-HDFS-Build/9591//console This message is automatically generated.
          Hide
          Akira AJISAKA added a comment -

          The test failure looks unrelated to the patch.

          Show
          Akira AJISAKA added a comment - The test failure looks unrelated to the patch.
          Hide
          Akira AJISAKA added a comment -
          Show
          Akira AJISAKA added a comment - +1 pending Jenkins. https://builds.apache.org/job/PreCommit-HDFS-Build/9595/
          Hide
          Hadoop QA added a comment -

          -1 overall. Here are the results of testing the latest attachment
          http://issues.apache.org/jira/secure/attachment/12699134/hdfs-6662.003.patch
          against trunk revision 9729b24.

          +1 @author. The patch does not contain any @author tags.

          +1 tests included. The patch appears to include 1 new or modified test files.

          +1 javac. The applied patch does not increase the total number of javac compiler warnings.

          +1 javadoc. There were no new javadoc warning messages.

          +1 eclipse:eclipse. The patch built with eclipse:eclipse.

          +1 findbugs. The patch does not introduce any new Findbugs (version 2.0.3) warnings.

          +1 release audit. The applied patch does not increase the total number of release audit warnings.

          -1 core tests. The following test timeouts occurred in hadoop-hdfs-project/hadoop-hdfs:

          org.apache.hadoop.hdfs.web.TestWebHdfsTokens

          Test results: https://builds.apache.org/job/PreCommit-HDFS-Build/9595//testReport/
          Console output: https://builds.apache.org/job/PreCommit-HDFS-Build/9595//console

          This message is automatically generated.

          Show
          Hadoop QA added a comment - -1 overall . Here are the results of testing the latest attachment http://issues.apache.org/jira/secure/attachment/12699134/hdfs-6662.003.patch against trunk revision 9729b24. +1 @author . The patch does not contain any @author tags. +1 tests included . The patch appears to include 1 new or modified test files. +1 javac . The applied patch does not increase the total number of javac compiler warnings. +1 javadoc . There were no new javadoc warning messages. +1 eclipse:eclipse . The patch built with eclipse:eclipse. +1 findbugs . The patch does not introduce any new Findbugs (version 2.0.3) warnings. +1 release audit . The applied patch does not increase the total number of release audit warnings. -1 core tests . The following test timeouts occurred in hadoop-hdfs-project/hadoop-hdfs: org.apache.hadoop.hdfs.web.TestWebHdfsTokens Test results: https://builds.apache.org/job/PreCommit-HDFS-Build/9595//testReport/ Console output: https://builds.apache.org/job/PreCommit-HDFS-Build/9595//console This message is automatically generated.
          Hide
          Gerson Carlos added a comment -

          I took a quick look into the timed out test and it seems also to be unrelated to the patch.

          Show
          Gerson Carlos added a comment - I took a quick look into the timed out test and it seems also to be unrelated to the patch.
          Hide
          Akira AJISAKA added a comment -

          One nit:

          +    Assert.assertEquals(testParser.path(), EXPECTED_PATH);
          

          Would you reverse the order of the arguments to match with assertEquals(expected, actual)? Sorry for going back and forth. +1 if that is addressed.

          Show
          Akira AJISAKA added a comment - One nit: + Assert.assertEquals(testParser.path(), EXPECTED_PATH); Would you reverse the order of the arguments to match with assertEquals(expected, actual) ? Sorry for going back and forth. +1 if that is addressed.
          Hide
          Gerson Carlos added a comment -

          No problem. I'll fix that.

          Show
          Gerson Carlos added a comment - No problem. I'll fix that.
          Hide
          Hadoop QA added a comment -

          -1 overall. Here are the results of testing the latest attachment
          http://issues.apache.org/jira/secure/attachment/12699311/hdfs-6662.004.patch
          against trunk revision 78a7e8d.

          +1 @author. The patch does not contain any @author tags.

          +1 tests included. The patch appears to include 1 new or modified test files.

          +1 javac. The applied patch does not increase the total number of javac compiler warnings.

          +1 javadoc. There were no new javadoc warning messages.

          +1 eclipse:eclipse. The patch built with eclipse:eclipse.

          +1 findbugs. The patch does not introduce any new Findbugs (version 2.0.3) warnings.

          +1 release audit. The applied patch does not increase the total number of release audit warnings.

          -1 core tests. The patch failed these unit tests in hadoop-hdfs-project/hadoop-hdfs:

          org.apache.hadoop.hdfs.server.namenode.ha.TestDNFencing

          The following test timeouts occurred in hadoop-hdfs-project/hadoop-hdfs:

          org.apache.hadoop.hdfs.web.TestTokenAspect

          Test results: https://builds.apache.org/job/PreCommit-HDFS-Build/9603//testReport/
          Console output: https://builds.apache.org/job/PreCommit-HDFS-Build/9603//console

          This message is automatically generated.

          Show
          Hadoop QA added a comment - -1 overall . Here are the results of testing the latest attachment http://issues.apache.org/jira/secure/attachment/12699311/hdfs-6662.004.patch against trunk revision 78a7e8d. +1 @author . The patch does not contain any @author tags. +1 tests included . The patch appears to include 1 new or modified test files. +1 javac . The applied patch does not increase the total number of javac compiler warnings. +1 javadoc . There were no new javadoc warning messages. +1 eclipse:eclipse . The patch built with eclipse:eclipse. +1 findbugs . The patch does not introduce any new Findbugs (version 2.0.3) warnings. +1 release audit . The applied patch does not increase the total number of release audit warnings. -1 core tests . The patch failed these unit tests in hadoop-hdfs-project/hadoop-hdfs: org.apache.hadoop.hdfs.server.namenode.ha.TestDNFencing The following test timeouts occurred in hadoop-hdfs-project/hadoop-hdfs: org.apache.hadoop.hdfs.web.TestTokenAspect Test results: https://builds.apache.org/job/PreCommit-HDFS-Build/9603//testReport/ Console output: https://builds.apache.org/job/PreCommit-HDFS-Build/9603//console This message is automatically generated.
          Hide
          Haohui Mai added a comment -

          I'm committing this.

          Show
          Haohui Mai added a comment - I'm committing this.
          Hide
          Haohui Mai added a comment - - edited

          I've committed the patch to trunk and branch-2. Thanks Gerson Carlos for the contribution, and Akira for the review.

          Show
          Haohui Mai added a comment - - edited I've committed the patch to trunk and branch-2. Thanks Gerson Carlos for the contribution, and Akira for the review.
          Hide
          Hudson added a comment -

          FAILURE: Integrated in Hadoop-trunk-Commit #7135 (See https://builds.apache.org/job/Hadoop-trunk-Commit/7135/)
          HDFS-6662. WebHDFS cannot open a file if its path contains "%". Contributed by Gerson Carlos. (wheat9: rev 043e44bc36fc7f7c59406d3722b0a93607b6fa49)

          • hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/server/datanode/web/webhdfs/ParameterParser.java
          • hadoop-hdfs-project/hadoop-hdfs/src/test/java/org/apache/hadoop/hdfs/server/datanode/web/webhdfs/TestParameterParser.java
          • hadoop-hdfs-project/hadoop-hdfs/src/main/webapps/hdfs/explorer.js
          • hadoop-hdfs-project/hadoop-hdfs/CHANGES.txt
          Show
          Hudson added a comment - FAILURE: Integrated in Hadoop-trunk-Commit #7135 (See https://builds.apache.org/job/Hadoop-trunk-Commit/7135/ ) HDFS-6662 . WebHDFS cannot open a file if its path contains "%". Contributed by Gerson Carlos. (wheat9: rev 043e44bc36fc7f7c59406d3722b0a93607b6fa49) hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/server/datanode/web/webhdfs/ParameterParser.java hadoop-hdfs-project/hadoop-hdfs/src/test/java/org/apache/hadoop/hdfs/server/datanode/web/webhdfs/TestParameterParser.java hadoop-hdfs-project/hadoop-hdfs/src/main/webapps/hdfs/explorer.js hadoop-hdfs-project/hadoop-hdfs/CHANGES.txt
          Hide
          Akira AJISAKA added a comment -

          Thanks Gerson Carlos for the contribution, and thanks Haohui Mai for the commit!

          Show
          Akira AJISAKA added a comment - Thanks Gerson Carlos for the contribution, and thanks Haohui Mai for the commit!
          Hide
          Hudson added a comment -

          FAILURE: Integrated in Hadoop-Yarn-trunk #842 (See https://builds.apache.org/job/Hadoop-Yarn-trunk/842/)
          HDFS-6662. WebHDFS cannot open a file if its path contains "%". Contributed by Gerson Carlos. (wheat9: rev 043e44bc36fc7f7c59406d3722b0a93607b6fa49)

          • hadoop-hdfs-project/hadoop-hdfs/CHANGES.txt
          • hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/server/datanode/web/webhdfs/ParameterParser.java
          • hadoop-hdfs-project/hadoop-hdfs/src/test/java/org/apache/hadoop/hdfs/server/datanode/web/webhdfs/TestParameterParser.java
          • hadoop-hdfs-project/hadoop-hdfs/src/main/webapps/hdfs/explorer.js
          Show
          Hudson added a comment - FAILURE: Integrated in Hadoop-Yarn-trunk #842 (See https://builds.apache.org/job/Hadoop-Yarn-trunk/842/ ) HDFS-6662 . WebHDFS cannot open a file if its path contains "%". Contributed by Gerson Carlos. (wheat9: rev 043e44bc36fc7f7c59406d3722b0a93607b6fa49) hadoop-hdfs-project/hadoop-hdfs/CHANGES.txt hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/server/datanode/web/webhdfs/ParameterParser.java hadoop-hdfs-project/hadoop-hdfs/src/test/java/org/apache/hadoop/hdfs/server/datanode/web/webhdfs/TestParameterParser.java hadoop-hdfs-project/hadoop-hdfs/src/main/webapps/hdfs/explorer.js
          Hide
          Hudson added a comment -

          SUCCESS: Integrated in Hadoop-Yarn-trunk-Java8 #108 (See https://builds.apache.org/job/Hadoop-Yarn-trunk-Java8/108/)
          HDFS-6662. WebHDFS cannot open a file if its path contains "%". Contributed by Gerson Carlos. (wheat9: rev 043e44bc36fc7f7c59406d3722b0a93607b6fa49)

          • hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/server/datanode/web/webhdfs/ParameterParser.java
          • hadoop-hdfs-project/hadoop-hdfs/src/main/webapps/hdfs/explorer.js
          • hadoop-hdfs-project/hadoop-hdfs/CHANGES.txt
          • hadoop-hdfs-project/hadoop-hdfs/src/test/java/org/apache/hadoop/hdfs/server/datanode/web/webhdfs/TestParameterParser.java
          Show
          Hudson added a comment - SUCCESS: Integrated in Hadoop-Yarn-trunk-Java8 #108 (See https://builds.apache.org/job/Hadoop-Yarn-trunk-Java8/108/ ) HDFS-6662 . WebHDFS cannot open a file if its path contains "%". Contributed by Gerson Carlos. (wheat9: rev 043e44bc36fc7f7c59406d3722b0a93607b6fa49) hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/server/datanode/web/webhdfs/ParameterParser.java hadoop-hdfs-project/hadoop-hdfs/src/main/webapps/hdfs/explorer.js hadoop-hdfs-project/hadoop-hdfs/CHANGES.txt hadoop-hdfs-project/hadoop-hdfs/src/test/java/org/apache/hadoop/hdfs/server/datanode/web/webhdfs/TestParameterParser.java
          Hide
          Hudson added a comment -

          FAILURE: Integrated in Hadoop-Hdfs-trunk-Java8 #99 (See https://builds.apache.org/job/Hadoop-Hdfs-trunk-Java8/99/)
          HDFS-6662. WebHDFS cannot open a file if its path contains "%". Contributed by Gerson Carlos. (wheat9: rev 043e44bc36fc7f7c59406d3722b0a93607b6fa49)

          • hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/server/datanode/web/webhdfs/ParameterParser.java
          • hadoop-hdfs-project/hadoop-hdfs/CHANGES.txt
          • hadoop-hdfs-project/hadoop-hdfs/src/main/webapps/hdfs/explorer.js
          • hadoop-hdfs-project/hadoop-hdfs/src/test/java/org/apache/hadoop/hdfs/server/datanode/web/webhdfs/TestParameterParser.java
          Show
          Hudson added a comment - FAILURE: Integrated in Hadoop-Hdfs-trunk-Java8 #99 (See https://builds.apache.org/job/Hadoop-Hdfs-trunk-Java8/99/ ) HDFS-6662 . WebHDFS cannot open a file if its path contains "%". Contributed by Gerson Carlos. (wheat9: rev 043e44bc36fc7f7c59406d3722b0a93607b6fa49) hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/server/datanode/web/webhdfs/ParameterParser.java hadoop-hdfs-project/hadoop-hdfs/CHANGES.txt hadoop-hdfs-project/hadoop-hdfs/src/main/webapps/hdfs/explorer.js hadoop-hdfs-project/hadoop-hdfs/src/test/java/org/apache/hadoop/hdfs/server/datanode/web/webhdfs/TestParameterParser.java
          Hide
          Hudson added a comment -

          SUCCESS: Integrated in Hadoop-Hdfs-trunk #2040 (See https://builds.apache.org/job/Hadoop-Hdfs-trunk/2040/)
          HDFS-6662. WebHDFS cannot open a file if its path contains "%". Contributed by Gerson Carlos. (wheat9: rev 043e44bc36fc7f7c59406d3722b0a93607b6fa49)

          • hadoop-hdfs-project/hadoop-hdfs/CHANGES.txt
          • hadoop-hdfs-project/hadoop-hdfs/src/test/java/org/apache/hadoop/hdfs/server/datanode/web/webhdfs/TestParameterParser.java
          • hadoop-hdfs-project/hadoop-hdfs/src/main/webapps/hdfs/explorer.js
          • hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/server/datanode/web/webhdfs/ParameterParser.java
          Show
          Hudson added a comment - SUCCESS: Integrated in Hadoop-Hdfs-trunk #2040 (See https://builds.apache.org/job/Hadoop-Hdfs-trunk/2040/ ) HDFS-6662 . WebHDFS cannot open a file if its path contains "%". Contributed by Gerson Carlos. (wheat9: rev 043e44bc36fc7f7c59406d3722b0a93607b6fa49) hadoop-hdfs-project/hadoop-hdfs/CHANGES.txt hadoop-hdfs-project/hadoop-hdfs/src/test/java/org/apache/hadoop/hdfs/server/datanode/web/webhdfs/TestParameterParser.java hadoop-hdfs-project/hadoop-hdfs/src/main/webapps/hdfs/explorer.js hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/server/datanode/web/webhdfs/ParameterParser.java
          Hide
          Hudson added a comment -

          FAILURE: Integrated in Hadoop-Mapreduce-trunk-Java8 #109 (See https://builds.apache.org/job/Hadoop-Mapreduce-trunk-Java8/109/)
          HDFS-6662. WebHDFS cannot open a file if its path contains "%". Contributed by Gerson Carlos. (wheat9: rev 043e44bc36fc7f7c59406d3722b0a93607b6fa49)

          • hadoop-hdfs-project/hadoop-hdfs/src/main/webapps/hdfs/explorer.js
          • hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/server/datanode/web/webhdfs/ParameterParser.java
          • hadoop-hdfs-project/hadoop-hdfs/src/test/java/org/apache/hadoop/hdfs/server/datanode/web/webhdfs/TestParameterParser.java
          • hadoop-hdfs-project/hadoop-hdfs/CHANGES.txt
          Show
          Hudson added a comment - FAILURE: Integrated in Hadoop-Mapreduce-trunk-Java8 #109 (See https://builds.apache.org/job/Hadoop-Mapreduce-trunk-Java8/109/ ) HDFS-6662 . WebHDFS cannot open a file if its path contains "%". Contributed by Gerson Carlos. (wheat9: rev 043e44bc36fc7f7c59406d3722b0a93607b6fa49) hadoop-hdfs-project/hadoop-hdfs/src/main/webapps/hdfs/explorer.js hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/server/datanode/web/webhdfs/ParameterParser.java hadoop-hdfs-project/hadoop-hdfs/src/test/java/org/apache/hadoop/hdfs/server/datanode/web/webhdfs/TestParameterParser.java hadoop-hdfs-project/hadoop-hdfs/CHANGES.txt
          Hide
          Hudson added a comment -

          FAILURE: Integrated in Hadoop-Mapreduce-trunk #2059 (See https://builds.apache.org/job/Hadoop-Mapreduce-trunk/2059/)
          HDFS-6662. WebHDFS cannot open a file if its path contains "%". Contributed by Gerson Carlos. (wheat9: rev 043e44bc36fc7f7c59406d3722b0a93607b6fa49)

          • hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/server/datanode/web/webhdfs/ParameterParser.java
          • hadoop-hdfs-project/hadoop-hdfs/src/test/java/org/apache/hadoop/hdfs/server/datanode/web/webhdfs/TestParameterParser.java
          • hadoop-hdfs-project/hadoop-hdfs/CHANGES.txt
          • hadoop-hdfs-project/hadoop-hdfs/src/main/webapps/hdfs/explorer.js
          Show
          Hudson added a comment - FAILURE: Integrated in Hadoop-Mapreduce-trunk #2059 (See https://builds.apache.org/job/Hadoop-Mapreduce-trunk/2059/ ) HDFS-6662 . WebHDFS cannot open a file if its path contains "%". Contributed by Gerson Carlos. (wheat9: rev 043e44bc36fc7f7c59406d3722b0a93607b6fa49) hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/server/datanode/web/webhdfs/ParameterParser.java hadoop-hdfs-project/hadoop-hdfs/src/test/java/org/apache/hadoop/hdfs/server/datanode/web/webhdfs/TestParameterParser.java hadoop-hdfs-project/hadoop-hdfs/CHANGES.txt hadoop-hdfs-project/hadoop-hdfs/src/main/webapps/hdfs/explorer.js
          Hide
          Gerson Carlos added a comment -

          Thanks Akira AJISAKA for reviewing and Haohui Mai for committing it.

          Show
          Gerson Carlos added a comment - Thanks Akira AJISAKA for reviewing and Haohui Mai for committing it.

            People

            • Assignee:
              Gerson Carlos
              Reporter:
              Brahma Reddy Battula
            • Votes:
              0 Vote for this issue
              Watchers:
              10 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Development