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

[jira] [Created] (HBASE-23903) [flakey] TestThriftHttpServer fails to bind to port

Nick Dimiduk created HBASE-23903:
------------------------------------

             Summary: [flakey] TestThriftHttpServer fails to bind to port
                 Key: HBASE-23903
                 URL: https://issues.apache.org/jira/browse/HBASE-23903
             Project: HBase
          Issue Type: Test
          Components: test, Thrift
    Affects Versions: 3.0.0, 2.3.0
            Reporter: Nick Dimiduk


We see thrift tests fail occasionally in Jenkins due to failure to bind to port.

{noformat}
2020-02-26 10:24:07,725 INFO  [ThriftServer-httpServer] http.HttpServer (HttpServer.java:start(1063)) - HttpServer.start() threw a non Bind IOException
java.net.BindException: Port in use: 0.0.0.0:54902
	at org.apache.hadoop.hbase.http.HttpServer.openListeners(HttpServer.java:1126)
	at org.apache.hadoop.hbase.http.HttpServer.start(HttpServer.java:1060)
	at org.apache.hadoop.hbase.http.InfoServer.start(InfoServer.java:148)
	at org.apache.hadoop.hbase.thrift.ThriftServer.startInfoServer(ThriftServer.java:308)
	at org.apache.hadoop.hbase.thrift.ThriftServer.run(ThriftServer.java:849)
	at org.apache.hadoop.hbase.thrift.TestThriftHttpServer.lambda$startHttpServerThread$0(TestThriftHttpServer.java:121)
	at java.lang.Thread.run(Thread.java:748)
Caused by: java.net.BindException: Address already in use
	at sun.nio.ch.Net.bind0(Native Method)
	at sun.nio.ch.Net.bind(Net.java:433)
	at sun.nio.ch.Net.bind(Net.java:425)
	at sun.nio.ch.ServerSocketChannelImpl.bind(ServerSocketChannelImpl.java:223)
	at sun.nio.ch.ServerSocketAdaptor.bind(ServerSocketAdaptor.java:74)
	at org.eclipse.jetty.server.ServerConnector.openAcceptChannel(ServerConnector.java:351)
	at org.eclipse.jetty.server.ServerConnector.open(ServerConnector.java:319)
	at org.apache.hadoop.hbase.http.HttpServer.openListeners(HttpServer.java:1120)
	... 6 more
{noformat}



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