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

NetUtils.wrapException loses inner stack trace on BindException

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 2.5.1
    • 2.6.0
    • net
    • None
    • 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

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

            Dates

              Created:
              Updated:
              Resolved: