parent
4f455290b1
commit
9ebbda342f
@ -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);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user