diff --git a/hadoop-common-project/hadoop-common/CHANGES.txt b/hadoop-common-project/hadoop-common/CHANGES.txt index 7257ba1c2e6..14c21fa4e14 100644 --- a/hadoop-common-project/hadoop-common/CHANGES.txt +++ b/hadoop-common-project/hadoop-common/CHANGES.txt @@ -882,6 +882,9 @@ Release 2.6.0 - UNRELEASED HADOOP-10552. Fix usage and example at FileSystemShell.apt.vm (Kenji Kikushima via aw) + HADOOP-11143 NetUtils.wrapException loses inner stack trace on BindException + (stevel) + Release 2.5.1 - 2014-09-05 INCOMPATIBLE CHANGES diff --git a/hadoop-common-project/hadoop-common/src/main/java/org/apache/hadoop/net/NetUtils.java b/hadoop-common-project/hadoop-common/src/main/java/org/apache/hadoop/net/NetUtils.java index 8595f87b9e8..9ee0f3e3b96 100644 --- a/hadoop-common-project/hadoop-common/src/main/java/org/apache/hadoop/net/NetUtils.java +++ b/hadoop-common-project/hadoop-common/src/main/java/org/apache/hadoop/net/NetUtils.java @@ -716,7 +716,7 @@ public class NetUtils { final int localPort, final IOException exception) { if (exception instanceof BindException) { - return new BindException( + return wrapWithMessage(exception, "Problem binding to [" + localHost + ":"