Uploaded image for project: 'Hadoop Common'
  1. Hadoop Common
  2. HADOOP-11143

NetUtils.wrapException loses inner stack trace on BindException

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 2.5.1
    • Fix Version/s: 2.6.0
    • Component/s: net
    • Labels:
      None
    • Environment:

      machine that doesn't bind

      Description

      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.

        Attachments

        1. HADOOP-11143-001.patch
          0.8 kB
          Steve Loughran

          Activity

            People

            • Assignee:
              stevel@apache.org Steve Loughran
              Reporter:
              stevel@apache.org Steve Loughran
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: