You are viewing a plain text version of this content. The canonical link for it is here.
Posted to common-commits@hadoop.apache.org by we...@apache.org on 2020/10/24 00:54:00 UTC
[hadoop] branch branch-3.1 updated: HADOOP-17119. Jetty upgrade to
9.4.x causes MR app fail with IOException. Contributed by Bilwa S T.
This is an automated email from the ASF dual-hosted git repository.
weichiu pushed a commit to branch branch-3.1
in repository https://gitbox.apache.org/repos/asf/hadoop.git
The following commit(s) were added to refs/heads/branch-3.1 by this push:
new 66e4a8b HADOOP-17119. Jetty upgrade to 9.4.x causes MR app fail with IOException. Contributed by Bilwa S T.
66e4a8b is described below
commit 66e4a8b1d7ed1d503b21483809b5f4ac48ef55f1
Author: Ayush Saxena <ay...@apache.org>
AuthorDate: Mon Jul 20 22:13:48 2020 +0530
HADOOP-17119. Jetty upgrade to 9.4.x causes MR app fail with IOException. Contributed by Bilwa S T.
(cherry picked from commit 8a58a12626f0332a4a828f312e2007d8c23564ee)
(cherry picked from commit d2ecaf217fcde5f900262ef156df9cee5de950d7)
---
.../src/main/java/org/apache/hadoop/http/HttpServer2.java | 6 +++++-
1 file changed, 5 insertions(+), 1 deletion(-)
diff --git a/hadoop-common-project/hadoop-common/src/main/java/org/apache/hadoop/http/HttpServer2.java b/hadoop-common-project/hadoop-common/src/main/java/org/apache/hadoop/http/HttpServer2.java
index a592f47..8d6bc18 100644
--- a/hadoop-common-project/hadoop-common/src/main/java/org/apache/hadoop/http/HttpServer2.java
+++ b/hadoop-common-project/hadoop-common/src/main/java/org/apache/hadoop/http/HttpServer2.java
@@ -1280,7 +1280,11 @@ public final class HttpServer2 implements FilterContainer {
try {
bindListener(listener);
return;
- } catch (BindException ex) {
+ } catch (IOException ex) {
+ if (!(ex instanceof BindException)
+ && !(ex.getCause() instanceof BindException)) {
+ throw ex;
+ }
// Ignore exception. Move to next port.
ioException = ex;
}
---------------------------------------------------------------------
To unsubscribe, e-mail: common-commits-unsubscribe@hadoop.apache.org
For additional commands, e-mail: common-commits-help@hadoop.apache.org