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
1 changed files with 1 additions and 1 deletions

View File

@ -1476,7 +1476,7 @@ public class DFSUtil {
DFSConfigKeys.DFS_HTTP_POLICY_DEFAULT); DFSConfigKeys.DFS_HTTP_POLICY_DEFAULT);
HttpConfig.Policy policy = HttpConfig.Policy.fromString(policyStr); HttpConfig.Policy policy = HttpConfig.Policy.fromString(policyStr);
if (policy == null) { if (policy == null) {
throw new HadoopIllegalArgumentException("Unregonized value '" throw new HadoopIllegalArgumentException("Unrecognized value '"
+ policyStr + "' for " + DFSConfigKeys.DFS_HTTP_POLICY_KEY); + policyStr + "' for " + DFSConfigKeys.DFS_HTTP_POLICY_KEY);
} }