From f29e55bf5e634b3be28c9e0e993f78877528b5c2 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. --- .../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 bb2811088e..16380e5b4c 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 @@ -59,8 +59,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 66d2eb4cef..8980f0efe7 100644 --- a/hadoop-project/pom.xml +++ b/hadoop-project/pom.xml @@ -749,7 +749,7 @@ io.netty netty-all - 4.0.23.Final + 4.0.52.Final