Uploaded image for project: 'Accumulo'
  1. Accumulo
  2. ACCUMULO-3830

Repeated attempts to bind already bound port in tserver

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Minor
    • Resolution: Invalid
    • None
    • None
    • tserver
    • None

    Description

      2015-05-19 17:56:00,792 [client.ClientConfiguration] WARN : Client configuration constructed with a Configuration that did not have list delimiter disabled or overridden, multi-valued config properties may be unavailable
      2015-05-19 17:56:00,793 [rpc.TServerUtils] DEBUG: Instantiating SASL Thrift server
      2015-05-19 17:56:00,793 [rpc.TServerUtils] INFO : Creating SASL thread pool thrift server on listening on hostname:9997
      2015-05-19 17:56:00,793 [rpc.TServerUtils] ERROR: Unable to start TServer
      org.apache.thrift.transport.TTransportException: Could not create ServerSocket on address 0.0.0.0/0.0.0.0:9997.
              at org.apache.thrift.transport.TServerSocket.<init>(TServerSocket.java:93)
              at org.apache.thrift.transport.TServerSocket.<init>(TServerSocket.java:75)
              at org.apache.accumulo.server.rpc.TServerUtils.createSaslThreadPoolServer(TServerUtils.java:388)
              at org.apache.accumulo.server.rpc.TServerUtils.startTServer(TServerUtils.java:498)
              at org.apache.accumulo.server.rpc.TServerUtils.startTServer(TServerUtils.java:472)
              at org.apache.accumulo.server.rpc.TServerUtils.startServer(TServerUtils.java:151)
              at org.apache.accumulo.tserver.TabletServer.startServer(TabletServer.java:2266)
              at org.apache.accumulo.tserver.TabletServer.startTabletClientService(TabletServer.java:2314)
              at org.apache.accumulo.tserver.TabletServer.run(TabletServer.java:2450)
              at org.apache.accumulo.tserver.TabletServer$9.run(TabletServer.java:2963)
              at org.apache.accumulo.tserver.TabletServer$9.run(TabletServer.java:2960)
              at java.security.AccessController.doPrivileged(Native Method)
              at javax.security.auth.Subject.doAs(Subject.java:415)
              at org.apache.hadoop.security.UserGroupInformation.doAs(UserGroupInformation.java:1657)
              at org.apache.accumulo.tserver.TabletServer.main(TabletServer.java:2960)
              at org.apache.accumulo.tserver.TServerExecutable.execute(TServerExecutable.java:33)
              at org.apache.accumulo.start.Main$1.run(Main.java:93)
              at java.lang.Thread.run(Thread.java:745)
      

      I'm seeing loops of 100 of the above when a tabletserver tries to start on a node in which it's already running. I think this is the port-shift code that tries to jump around and choose a different value. When we have a static value, trying to jump around is rather useless.

      Attachments

        Issue Links

          Activity

            People

              elserj Josh Elser
              elserj Josh Elser
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: