You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@hbase.apache.org by "Peter Somogyi (Jira)" <ji...@apache.org> on 2020/04/16 09:59:00 UTC

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

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

Peter Somogyi resolved HBASE-24197.
-----------------------------------
    Fix Version/s: 2.2.5
                   2.4.0
                   2.3.0
                   3.0.0
       Resolution: Fixed

Pushed to branch-2.2+. Thanks for the fix [~stoty]!

> 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
>            Priority: Major
>             Fix For: 3.0.0, 2.3.0, 2.4.0, 2.2.5
>
>
> 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)