Uploaded image for project: 'Apache Ozone'
  1. Apache Ozone
  2. HDDS-5626 Track and Address Flaky tests
  3. HDDS-7879

Intermittent BindException in HA integration tests

    XMLWordPrintableJSON

Details

    • Sub-task
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 1.4.0
    • 1.4.0
    • test

    Description

      Some HA integration tests intermittently fail to start OM/SCM service due to port conflicts:

      OM
      org.apache.ratis.util.ExitUtils$ExitException: Failed to start Grpc server
      	at org.apache.ratis.util.ExitUtils.terminate(ExitUtils.java:141)
      	at org.apache.ratis.util.ExitUtils.terminate(ExitUtils.java:151)
      	at org.apache.ratis.grpc.server.GrpcService.startImpl(GrpcService.java:260)
      	at org.apache.ratis.util.LifeCycle.startAndTransition(LifeCycle.java:270)
      	at org.apache.ratis.server.RaftServerRpcWithProxy.start(RaftServerRpcWithProxy.java:72)
      	at org.apache.ratis.server.impl.RaftServerProxy.startImpl(RaftServerProxy.java:394)
      	at org.apache.ratis.util.LifeCycle.startAndTransition(LifeCycle.java:270)
      	at org.apache.ratis.server.impl.RaftServerProxy.start(RaftServerProxy.java:387)
      	at org.apache.hadoop.ozone.om.ratis.OzoneManagerRatisServer.start(OzoneManagerRatisServer.java:557)
      	at org.apache.hadoop.ozone.om.OzoneManager.start(OzoneManager.java:1513)
      	at org.apache.hadoop.ozone.MiniOzoneHAClusterImpl$Builder.createOMService(MiniOzoneHAClusterImpl.java:525)
      	at org.apache.hadoop.ozone.MiniOzoneHAClusterImpl$Builder.build(MiniOzoneHAClusterImpl.java:426)
      
      SCM
      org.apache.ratis.util.ExitUtils$ExitException: Failed to start Grpc server
      	at org.apache.ratis.util.ExitUtils.terminate(ExitUtils.java:141)
      	at org.apache.ratis.util.ExitUtils.terminate(ExitUtils.java:151)
      	at org.apache.ratis.grpc.server.GrpcService.startImpl(GrpcService.java:260)
      	at org.apache.ratis.util.LifeCycle.startAndTransition(LifeCycle.java:270)
      	at org.apache.ratis.server.RaftServerRpcWithProxy.start(RaftServerRpcWithProxy.java:72)
      	at org.apache.ratis.server.impl.RaftServerProxy.startImpl(RaftServerProxy.java:394)
      	at org.apache.ratis.util.LifeCycle.startAndTransition(LifeCycle.java:270)
      	at org.apache.ratis.server.impl.RaftServerProxy.start(RaftServerProxy.java:387)
      	at org.apache.hadoop.hdds.scm.ha.SCMRatisServerImpl.start(SCMRatisServerImpl.java:179)
      	at org.apache.hadoop.hdds.scm.ha.SCMHAManagerImpl.start(SCMHAManagerImpl.java:102)
      	at org.apache.hadoop.hdds.scm.server.StorageContainerManager.start(StorageContainerManager.java:1445)
      	at org.apache.hadoop.ozone.MiniOzoneHAClusterImpl$Builder.createSCMService(MiniOzoneHAClusterImpl.java:604)
      	at org.apache.hadoop.ozone.MiniOzoneHAClusterImpl$Builder.build(MiniOzoneHAClusterImpl.java:425)
      

      Attachments

        Issue Links

          Activity

            People

              adoroszlai Attila Doroszlai
              adoroszlai Attila Doroszlai
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: