From 43c6c54b8c5fb9e01acf0b3e681730187d576206 Mon Sep 17 00:00:00 2001 From: Jitendra Pandey Date: Tue, 10 Oct 2017 11:00:07 -0700 Subject: [PATCH] HADOOP-14910. Upgrade netty-all jar to latest 4.0.x.Final. Contributed by Vinayakumar B. (cherry picked from commit f29e55bf5e634b3be28c9e0e993f78877528b5c2) --- .../hdfs/server/datanode/web/webhdfs/ParameterParser.java | 3 +-- hadoop-project/pom.xml | 2 +- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/server/datanode/web/webhdfs/ParameterParser.java b/hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/server/datanode/web/webhdfs/ParameterParser.java index aaaba7326a0..233b4f233e8 100644 --- a/hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/server/datanode/web/webhdfs/ParameterParser.java +++ b/hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/server/datanode/web/webhdfs/ParameterParser.java @@ -58,8 +58,7 @@ class ParameterParser { private final Map> params; ParameterParser(QueryStringDecoder decoder, Configuration conf) { - this.path = decodeComponent(decoder.path().substring(WEBHDFS_PREFIX_LENGTH), - StandardCharsets.UTF_8); + this.path = decoder.path().substring(WEBHDFS_PREFIX_LENGTH); this.params = decoder.parameters(); this.conf = conf; } diff --git a/hadoop-project/pom.xml b/hadoop-project/pom.xml index c6045a9c2f4..d6252df8fd5 100644 --- a/hadoop-project/pom.xml +++ b/hadoop-project/pom.xml @@ -716,7 +716,7 @@ io.netty netty-all - 4.0.23.Final + 4.0.52.Final