Uploaded image for project: 'HBase'
  1. HBase
  2. HBASE-24197

TestHttpServer.testBindAddress failure with latest jetty

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 3.0.0-alpha-1, 2.3.0, 2.2.5
    • None
    • None

    Description

      The latest jetty version (tested with 9.4.28.v20200408 which is not included in HBase yet) wraps BindException into an IOException when it fails to bind to a port.

      This breaks HttpServer's findPort functionality, which manifests in TestHttpServer.testBindAddress failing.

      The proposed patch handles both the old and the new jetty behaviour correctly.

      Attachments

        Issue Links

          Activity

            People

              stoty Istvan Toth
              stoty Istvan Toth
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: