You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hbase.apache.org by "Istvan Toth (Jira)" <ji...@apache.org> on 2020/04/15 14:24:00 UTC

[jira] [Created] (HBASE-24197) TestHttpServer.testBindAddress failure with latest jetty

Istvan Toth created HBASE-24197:
-----------------------------------

             Summary: TestHttpServer.testBindAddress failure with latest jetty
                 Key: HBASE-24197
                 URL: https://issues.apache.org/jira/browse/HBASE-24197
             Project: HBase
          Issue Type: Bug
    Affects Versions: master
            Reporter: Istvan Toth
            Assignee: Istvan Toth


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.




--
This message was sent by Atlassian Jira
(v8.3.4#803005)