HADOOP-16372. Fix typo in DFSUtil getHttpPolicy method

Closes #967
This commit is contained in:
dineshchitlangia 2019-06-14 16:09:37 +02:00 committed by Márton Elek
parent 4f455290b1
commit 9ebbda342f
No known key found for this signature in database
GPG Key ID: D51EA8F00EE79B28

View File

@ -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);
}