From 9ebbda342f2adbbce30820a6f8374d310e361ff8 Mon Sep 17 00:00:00 2001 From: dineshchitlangia Date: Fri, 14 Jun 2019 16:09:37 +0200 Subject: [PATCH] HADOOP-16372. Fix typo in DFSUtil getHttpPolicy method Closes #967 --- .../src/main/java/org/apache/hadoop/hdfs/DFSUtil.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/DFSUtil.java b/hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/DFSUtil.java index 3cdf66d4f3..b1af697a4e 100644 --- a/hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/DFSUtil.java +++ b/hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/DFSUtil.java @@ -1476,7 +1476,7 @@ public static HttpConfig.Policy getHttpPolicy(Configuration conf) { DFSConfigKeys.DFS_HTTP_POLICY_DEFAULT); HttpConfig.Policy policy = HttpConfig.Policy.fromString(policyStr); if (policy == null) { - throw new HadoopIllegalArgumentException("Unregonized value '" + throw new HadoopIllegalArgumentException("Unrecognized value '" + policyStr + "' for " + DFSConfigKeys.DFS_HTTP_POLICY_KEY); }