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 st...@apache.org on 2014/10/10 21:00:44 UTC
[05/50] [abbrv] git commit: HADOOP-11143 NetUtils.wrapException loses
inner stack trace on BindException
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/ae1634f7
Tree: http://git-wip-us.apache.org/repos/asf/hadoop/tree/ae1634f7
Diff: http://git-wip-us.apache.org/repos/asf/hadoop/diff/ae1634f7
Branch: refs/heads/champlain
Commit: ae1634f7489708c17d608e11bda61e212e3b39f3
Parents: d4389c0
Author: Steve Loughran <st...@apache.org>
Authored: Sat Sep 27 21:06:31 2014 +0100
Committer: Jitendra Pandey <Ji...@Jitendra-Pandeys-MacBook-Pro-4.local>
Committed: Wed Oct 8 22:49:15 2014 -0700
----------------------------------------------------------------------
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/ae1634f7/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 62f9431..922bae8 100644
--- a/hadoop-common-project/hadoop-common/CHANGES.txt
+++ b/hadoop-common-project/hadoop-common/CHANGES.txt
@@ -567,6 +567,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/ae1634f7/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
+ ":"