Repository: hadoop Updated Branches: refs/heads/branch-2 a6879b606 -> 7fabec325 refs/heads/trunk 5f16c98ad -> 7f300bcdc
HADOOP-11143 NetUtils.wrapException loses inner stack trace on BindException Project: http://git-wip-us.apache.org/repos/asf/hadoop/repo Commit: http://git-wip-us.apache.org/repos/asf/hadoop/commit/7fabec32 Tree: http://git-wip-us.apache.org/repos/asf/hadoop/tree/7fabec32 Diff: http://git-wip-us.apache.org/repos/asf/hadoop/diff/7fabec32 Branch: refs/heads/branch-2 Commit: 7fabec3258fb1b8d9bee18d8f477761d7203ce60 Parents: a6879b6 Author: Steve Loughran <[email protected]> Authored: Sat Sep 27 21:06:31 2014 +0100 Committer: Steve Loughran <[email protected]> Committed: Sat Sep 27 21:06:31 2014 +0100 ---------------------------------------------------------------------- hadoop-common-project/hadoop-common/CHANGES.txt | 3 +++ .../src/main/java/org/apache/hadoop/net/NetUtils.java | 2 +- 2 files changed, 4 insertions(+), 1 deletion(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/hadoop/blob/7fabec32/hadoop-common-project/hadoop-common/CHANGES.txt ---------------------------------------------------------------------- diff --git a/hadoop-common-project/hadoop-common/CHANGES.txt b/hadoop-common-project/hadoop-common/CHANGES.txt index 1719e04..28bd6e0 100644 --- a/hadoop-common-project/hadoop-common/CHANGES.txt +++ b/hadoop-common-project/hadoop-common/CHANGES.txt @@ -544,6 +544,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 http://git-wip-us.apache.org/repos/asf/hadoop/blob/7fabec32/hadoop-common-project/hadoop-common/src/main/java/org/apache/hadoop/net/NetUtils.java ---------------------------------------------------------------------- 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 8595f87..9ee0f3e 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 + ":"
