HADOOP-17119. Jetty upgrade to 9.4.x causes MR app fail with IOException. Contributed by Bilwa S T.
This commit is contained in:
parent
5aa9396a58
commit
8a58a12626
|
@ -1346,7 +1346,11 @@ public final class HttpServer2 implements FilterContainer {
|
||||||
try {
|
try {
|
||||||
bindListener(listener);
|
bindListener(listener);
|
||||||
return;
|
return;
|
||||||
} catch (BindException ex) {
|
} catch (IOException ex) {
|
||||||
|
if (!(ex instanceof BindException)
|
||||||
|
&& !(ex.getCause() instanceof BindException)) {
|
||||||
|
throw ex;
|
||||||
|
}
|
||||||
// Ignore exception. Move to next port.
|
// Ignore exception. Move to next port.
|
||||||
ioException = ex;
|
ioException = ex;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue