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