Uploaded image for project: 'Tajo'
  1. Tajo
  2. TAJO-1197

Unit test failed: unable to create new native thread

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 0.9.0
    • Fix Version/s: 0.10.0
    • Component/s: Unit Test
    • Labels:
      None

      Description

      TravisCI are occasionally failed due to too many thread created

      Tests run: 1, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 4.563 sec <<< FAILURE! - in org.apache.tajo.master.ha.TestHAServiceHDFSImpl
      testTwoBackupMasters(org.apache.tajo.master.ha.TestHAServiceHDFSImpl)  Time elapsed: 4.563 sec  <<< ERROR!
      java.lang.OutOfMemoryError: unable to create new native thread
      	at java.lang.Thread.start0(Native Method)
      	at java.lang.Thread.start(Thread.java:679)
      	at java.util.concurrent.ThreadPoolExecutor.addWorker(ThreadPoolExecutor.java:950)
      	at java.util.concurrent.ThreadPoolExecutor.execute(ThreadPoolExecutor.java:1372)
      	at org.jboss.netty.util.internal.DeadLockProofWorker.start(DeadLockProofWorker.java:38)
      	at org.jboss.netty.channel.socket.nio.AbstractNioSelector.openSelector(AbstractNioSelector.java:343)
      	at org.jboss.netty.channel.socket.nio.AbstractNioSelector.<init>(AbstractNioSelector.java:95)
      	at org.jboss.netty.channel.socket.nio.AbstractNioWorker.<init>(AbstractNioWorker.java:53)
      	at org.jboss.netty.channel.socket.nio.NioWorker.<init>(NioWorker.java:45)
      	at org.jboss.netty.channel.socket.nio.NioWorkerPool.createWorker(NioWorkerPool.java:45)
      	at org.jboss.netty.channel.socket.nio.NioWorkerPool.createWorker(NioWorkerPool.java:28)
      	at org.jboss.netty.channel.socket.nio.AbstractNioWorkerPool.newWorker(AbstractNioWorkerPool.java:99)
      	at org.jboss.netty.channel.socket.nio.AbstractNioWorkerPool.init(AbstractNioWorkerPool.java:69)
      	at org.jboss.netty.channel.socket.nio.NioWorkerPool.<init>(NioWorkerPool.java:39)
      	at org.apache.tajo.rpc.RpcChannelFactory.createServerChannelFactory(RpcChannelFactory.java:89)
      	at org.apache.tajo.rpc.NettyServerBase.init(NettyServerBase.java:69)
      	at org.apache.tajo.rpc.AsyncRpcServer.<init>(AsyncRpcServer.java:58)
      	at org.apache.tajo.worker.TajoWorkerManagerService.init(TajoWorkerManagerService.java:73)
      	at org.apache.hadoop.service.CompositeService.serviceInit(CompositeService.java:107)
      	at org.apache.tajo.worker.TajoWorker.serviceInit(TajoWorker.java:236)
      	at org.apache.hadoop.service.AbstractService.init(AbstractService.java:163)
      	at org.apache.tajo.worker.TajoWorker.startWorker(TajoWorker.java:146)
      	at org.apache.tajo.TajoTestingCluster.startTajoWorkers(TajoTestingCluster.java:401)
      	at org.apache.tajo.TajoTestingCluster.startMiniTajoCluster(TajoTestingCluster.java:339)
      	at org.apache.tajo.TajoTestingCluster.startMiniCluster(TajoTestingCluster.java:490)
      	at org.apache.tajo.TajoTestingCluster.startMiniCluster(TajoTestingCluster.java:455)
      	at org.apache.tajo.master.ha.TestHAServiceHDFSImpl.testTwoBackupMasters(TestHAServiceHDFSImpl.java:56)
      
      

        Attachments

          Activity

            People

            • Assignee:
              jhkim Jinho Kim
              Reporter:
              jhkim Jinho Kim
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: