[ https://issues.apache.org/jira/browse/HADOOP-11143?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14149797#comment-14149797 ]
Allen Wittenauer commented on HADOOP-11143: ------------------------------------------- +1 lgtm. :) > NetUtils.wrapException loses inner stack trace on BindException > --------------------------------------------------------------- > > Key: HADOOP-11143 > URL: https://issues.apache.org/jira/browse/HADOOP-11143 > Project: Hadoop Common > Issue Type: Bug > Components: net > Affects Versions: 2.5.1 > Environment: machine that doesn't bind > Reporter: Steve Loughran > Assignee: Steve Loughran > Priority: Minor > Attachments: HADOOP-11143-001.patch > > > {{NetUtils.wrapException}} is designed to aid debugging by including > exception diagnostics in the wrapped & relayed exception. > When a BindException is caught, we build the new exception but don't include > the original as the inner cause. > this means it doesn't get logged, and while the host:port problem may be > identifiable, the bit of the code playing up is now harder to track down. -- This message was sent by Atlassian JIRA (v6.3.4#6332)