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

[flakey] TestThriftHttpServer fails to bind to port

    XMLWordPrintableJSON

Details

    • Test
    • Status: Open
    • Minor
    • Resolution: Unresolved
    • 3.0.0-alpha-1, 2.3.0
    • None
    • test, Thrift
    • None

    Description

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

      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
      

      Attachments

        Activity

          People

            Unassigned Unassigned
            ndimiduk Nick Dimiduk
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated: