HADOOP-11143 NetUtils.wrapException loses inner stack trace on BindException
This commit is contained in:
parent
a6879b606e
commit
7fabec3258
|
@ -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
|
||||
|
|
|
@ -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
|
||||
+ ":"
|
||||
|
|
Loading…
Reference in New Issue