hadoop-common-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Steve Loughran (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (HADOOP-11143) NetUtils.wrapException loses inner stack trace on BindException
Date Fri, 26 Sep 2014 17:46:34 GMT

     [ https://issues.apache.org/jira/browse/HADOOP-11143?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Steve Loughran updated HADOOP-11143:
------------------------------------
    Attachment: HADOOP-11143-001.patch

patch which has the bind exception mimic the rest of the methods; includes the nested strace

> 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)

Mime
View raw message