Uploaded image for project: 'Tajo (Retired)'
  1. Tajo (Retired)
  2. TAJO-2037

tajo-storage-hdfs tests occasionally hangs

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 0.12.0, 0.11.1
    • 0.12.0, 0.11.1
    • Unit Test
    • None
    • jetty-6.1.14

    Description

      jetty threads does not terminated occasionally when MiniHDFSCluster are shutdown

      Tests run: 5, Failures: 0, Errors: 4, Skipped: 0, Time elapsed: 480.862 sec <<< FAILURE! - in org.apache.tajo.storage.TestFileTablespace
      testGetSplit(org.apache.tajo.storage.TestFileTablespace)  Time elapsed: 120.104 sec  <<< ERROR!
      org.junit.runners.model.TestTimedOutException: test timed out after 120000 milliseconds
      	at java.lang.Thread.sleep(Native Method)
      	at org.mortbay.thread.QueuedThreadPool.doStop(QueuedThreadPool.java:437)
      	at org.mortbay.component.AbstractLifeCycle.stop(AbstractLifeCycle.java:78)
      	at org.mortbay.jetty.Server.doStop(Server.java:289)
      	at org.mortbay.component.AbstractLifeCycle.stop(AbstractLifeCycle.java:78)
      	at org.apache.hadoop.http.HttpServer2.stop(HttpServer2.java:961)
      	at org.apache.hadoop.hdfs.server.datanode.web.DatanodeHttpServer.close(DatanodeHttpServer.java:210)
      	at org.apache.hadoop.hdfs.server.datanode.DataNode.shutdown(DataNode.java:1682)
      	at org.apache.hadoop.hdfs.MiniDFSCluster.shutdownDataNodes(MiniDFSCluster.java:1746)
      	at org.apache.hadoop.hdfs.MiniDFSCluster.shutdown(MiniDFSCluster.java:1721)
      	at org.apache.hadoop.hdfs.MiniDFSCluster.shutdown(MiniDFSCluster.java:1705)
      	at org.apache.tajo.storage.TestFileTablespace.testGetSplit(TestFileTablespace.java:169)
      	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
      	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      	at java.lang.reflect.Method.invoke(Method.java:606)
      	at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:50)
      	at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12)
      	at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:47)
      	at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17)
      	at org.junit.internal.runners.statements.FailOnTimeout$CallableStatement.call(FailOnTimeout.java:298)
      	at org.junit.internal.runners.statements.FailOnTimeout$CallableStatement.call(FailOnTimeout.java:292)
      	at java.util.concurrent.FutureTask.run(FutureTask.java:262)
      	at java.lang.Thread.run(Thread.java:745)
      

      Attachments

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: