Skip to content

Commit 6c4763f

Browse files
dineshchitlangiabshashikant
authored andcommitted
HADOOP-16372. Fix typo in DFSUtil getHttpPolicy method
Closes apache#967
1 parent 57edcff commit 6c4763f

File tree

1 file changed

+1
-1
lines changed
  • hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs

1 file changed

+1
-1
lines changed

hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/DFSUtil.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1476,7 +1476,7 @@ public static HttpConfig.Policy getHttpPolicy(Configuration conf) {
14761476
DFSConfigKeys.DFS_HTTP_POLICY_DEFAULT);
14771477
HttpConfig.Policy policy = HttpConfig.Policy.fromString(policyStr);
14781478
if (policy == null) {
1479-
throw new HadoopIllegalArgumentException("Unregonized value '"
1479+
throw new HadoopIllegalArgumentException("Unrecognized value '"
14801480
+ policyStr + "' for " + DFSConfigKeys.DFS_HTTP_POLICY_KEY);
14811481
}
14821482

0 commit comments

Comments
 (0)