Uploaded image for project: 'CDAP'
  1. CDAP
  2. CDAP-10340

ExcelInputReaderTest Failing Test

    XMLWordPrintableJSON

    Details

    • Rank:
      1|hzzi87:

      Description

      Failing build: http://builds.cask.co/browse/HYP-DBT51-1/test

      Stacktrace:

      java.lang.ClassCastException: class java.lang.Object
      	at java.lang.Class.asSubclass(Class.java:3208)
      	at org.apache.hadoop.mapred.JobConf.getOutputKeyComparator(JobConf.java:885)
      	at org.apache.hadoop.mapred.MapTask$MapOutputBuffer.init(MapTask.java:981)
      	at org.apache.hadoop.mapred.MapTask.createSortingCollector(MapTask.java:391)
      	at org.apache.hadoop.mapred.MapTask.access$100(MapTask.java:80)
      	at org.apache.hadoop.mapred.MapTask$NewOutputCollector.<init>(MapTask.java:675)
      	at org.apache.hadoop.mapred.MapTask.runNewMapper(MapTask.java:747)
      	at org.apache.hadoop.mapred.MapTask.run(MapTask.java:340)
      	at org.apache.hadoop.mapred.LocalJobRunnerWithFix$Job$MapTaskRunnable.run(LocalJobRunnerWithFix.java:243)
      	at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471)
      	at java.util.concurrent.FutureTask.run(FutureTask.java:262)
      	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
      	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
      	at java.lang.Thread.run(Thread.java:745)
      2016-07-27 16:31:59,515 - WARN  [main:c.c.t.TransactionContext@289] - Transaction 1469662125295000000 is not in progress.
      co.cask.tephra.TransactionNotInProgressException: canCommit() is called for transaction 1469662125295000000 that is not in progress (it is known to be invalid)
      	at co.cask.tephra.TransactionManager.commit(TransactionManager.java:852) ~[tephra-core-0.7.1.jar:na]
      	at co.cask.tephra.inmemory.InMemoryTxSystemClient.commit(InMemoryTxSystemClient.java:73) ~[tephra-core-0.7.1.jar:na]
      	at co.cask.tephra.TransactionContext.commit(TransactionContext.java:286) [tephra-core-0.7.1.jar:na]
      	at co.cask.tephra.TransactionContext.finish(TransactionContext.java:116) [tephra-core-0.7.1.jar:na]
      	at co.cask.tephra.DefaultTransactionExecutor.executeOnce(DefaultTransactionExecutor.java:142) [tephra-core-0.7.1.jar:na]
      	at co.cask.tephra.DefaultTransactionExecutor.executeWithRetry(DefaultTransactionExecutor.java:115) [tephra-core-0.7.1.jar:na]
      	at co.cask.tephra.DefaultTransactionExecutor.execute(DefaultTransactionExecutor.java:72) [tephra-core-0.7.1.jar:na]
      	at co.cask.tephra.AbstractTransactionExecutor.executeUnchecked(AbstractTransactionExecutor.java:41) [tephra-core-0.7.1.jar:na]
      	at co.cask.cdap.internal.app.store.DefaultStore.getApplication(DefaultStore.java:732) [cdap-app-fabric-3.5.0-20160727.090006-234.jar:na]
      	at co.cask.cdap.internal.app.services.ProgramLifecycleService.getProgramStatus(ProgramLifecycleService.java:167) [cdap-app-fabric-3.5.0-20160727.090006-234.jar:na]
      	at co.cask.cdap.gateway.handlers.ProgramLifecycleHttpHandler.getStatus(ProgramLifecycleHttpHandler.java:240) [cdap-app-fabric-3.5.0-20160727.090006-234.jar:na]
      	at co.cask.cdap.internal.AppFabricClient.getStatus(AppFabricClient.java:178) [cdap-app-fabric-3.5.0-20160727.090006-234-tests.jar:na]
      	at co.cask.cdap.test.internal.DefaultApplicationManager.isRunning(DefaultApplicationManager.java:166) [cdap-unit-test-3.5.0-20160727.085923-232.jar:na]
      	at co.cask.cdap.test.AbstractProgramManager.isRunning(AbstractProgramManager.java:62) [cdap-test-3.5.0-20160727.090024-232.jar:na]
      	at co.cask.cdap.test.AbstractProgramManager.waitForStatus(AbstractProgramManager.java:101) [cdap-test-3.5.0-20160727.090024-232.jar:na]
      	at co.cask.cdap.test.AbstractProgramManager.waitForFinish(AbstractProgramManager.java:69) [cdap-test-3.5.0-20160727.090024-232.jar:na]
      	at co.cask.hydrator.plugin.batch.source.ExcelInputReaderTest.startMRFlow(ExcelInputReaderTest.java:557) [test-classes/:na]
      	at co.cask.hydrator.plugin.batch.source.ExcelInputReaderTest.testWithErrorRecord(ExcelInputReaderTest.java:350) [test-classes/:na]
      	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[na:1.7.0_79]
      	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) ~[na:1.7.0_79]
      	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[na:1.7.0_79]
      	at java.lang.reflect.Method.invoke(Method.java:606) ~[na:1.7.0_79]
      	at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:47) [junit-4.11.jar:na]
      	at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12) [junit-4.11.jar:na]
      	at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:44) [junit-4.11.jar:na]
      	at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17) [junit-4.11.jar:na]
      	at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:26) [junit-4.11.jar:na]
      	at org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:27) [junit-4.11.jar:na]
      	at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:271) [junit-4.11.jar:na]
      	at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:70) [junit-4.11.jar:na]
      	at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:50) [junit-4.11.jar:na]
      	at org.junit.runners.ParentRunner$3.run(ParentRunner.java:238) [junit-4.11.jar:na]
      	at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:63) [junit-4.11.jar:na]
      	at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:236) [junit-4.11.jar:na]
      	at org.junit.runners.ParentRunner.access$000(ParentRunner.java:53) [junit-4.11.jar:na]
      	at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:229) [junit-4.11.jar:na]
      	at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:26) [junit-4.11.jar:na]
      	at org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:27) [junit-4.11.jar:na]
      	at org.junit.rules.ExternalResource$1.evaluate(ExternalResource.java:48) [junit-4.11.jar:na]
      	at org.junit.rules.ExternalResource$1.evaluate(ExternalResource.java:48) [junit-4.11.jar:na]
      	at org.junit.rules.ExternalResource$1.evaluate(ExternalResource.java:48) [junit-4.11.jar:na]
      	at org.junit.rules.RunRules.evaluate(RunRules.java:20) [junit-4.11.jar:na]
      	at org.junit.runners.ParentRunner.run(ParentRunner.java:309) [junit-4.11.jar:na]
      	at org.junit.runner.JUnitCore.run(JUnitCore.java:160) [junit-4.11.jar:na]
      	at com.intellij.junit4.JUnit4IdeaTestRunner.startRunnerWithArgs(JUnit4IdeaTestRunner.java:119) [junit-rt.jar:na]
      	at com.intellij.junit4.JUnit4IdeaTestRunner.startRunnerWithArgs(JUnit4IdeaTestRunner.java:42) [junit-rt.jar:na]
      	at com.intellij.rt.execution.junit.JUnitStarter.prepareStreamsAndStart(JUnitStarter.java:234) [junit-rt.jar:na]
      	at com.intellij.rt.execution.junit.JUnitStarter.main(JUnitStarter.java:74) [junit-rt.jar:na]
      2016-07-27 16:32:00,422 - WARN  [Thread-19:o.a.h.m.LocalJobRunnerWithFix@562] - Error cleaning up job: job_local788304088_0001
      java.lang.InterruptedException: null
      	at java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject.reportInterruptAfterWait(AbstractQueuedSynchronizer.java:2017) ~[na:1.7.0_79]
      	at java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject.awaitNanos(AbstractQueuedSynchronizer.java:2095) ~[na:1.7.0_79]
      	at java.util.concurrent.ThreadPoolExecutor.awaitTermination(ThreadPoolExecutor.java:1468) ~[na:1.7.0_79]
      	at org.apache.hadoop.mapred.LocalJobRunnerWithFix$Job.runTasks(LocalJobRunnerWithFix.java:452) ~[cdap-app-fabric-3.5.0-20160727.090006-234.jar:na]
      	at org.apache.hadoop.mapred.LocalJobRunnerWithFix$Job.run(LocalJobRunnerWithFix.java:524) ~[cdap-app-fabric-3.5.0-20160727.090006-234.jar:na]
      
      java.lang.RuntimeException: co.cask.tephra.TransactionFailureException: Transaction 1469662125295000000 is not in progress.
      
      	at com.google.common.base.Throwables.propagate(Throwables.java:160)
      	at co.cask.tephra.AbstractTransactionExecutor.executeUnchecked(AbstractTransactionExecutor.java:43)
      	at co.cask.cdap.internal.app.store.DefaultStore.getApplication(DefaultStore.java:732)
      	at co.cask.cdap.internal.app.services.ProgramLifecycleService.getProgramStatus(ProgramLifecycleService.java:167)
      	at co.cask.cdap.gateway.handlers.ProgramLifecycleHttpHandler.getStatus(ProgramLifecycleHttpHandler.java:240)
      	at co.cask.cdap.internal.AppFabricClient.getStatus(AppFabricClient.java:178)
      	at co.cask.cdap.test.internal.DefaultApplicationManager.isRunning(DefaultApplicationManager.java:166)
      	at co.cask.cdap.test.AbstractProgramManager.isRunning(AbstractProgramManager.java:62)
      	at co.cask.cdap.test.AbstractProgramManager.waitForStatus(AbstractProgramManager.java:101)
      	at co.cask.cdap.test.AbstractProgramManager.waitForFinish(AbstractProgramManager.java:69)
      	at co.cask.hydrator.plugin.batch.source.ExcelInputReaderTest.startMRFlow(ExcelInputReaderTest.java:557)
      	at co.cask.hydrator.plugin.batch.source.ExcelInputReaderTest.testWithErrorRecord(ExcelInputReaderTest.java:350)
      	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:47)
      	at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12)
      	at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:44)
      	at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17)
      	at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:26)
      	at org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:27)
      	at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:271)
      	at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:70)
      	at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:50)
      	at org.junit.runners.ParentRunner$3.run(ParentRunner.java:238)
      	at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:63)
      	at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:236)
      	at org.junit.runners.ParentRunner.access$000(ParentRunner.java:53)
      	at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:229)
      	at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:26)
      	at org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:27)
      	at org.junit.rules.ExternalResource$1.evaluate(ExternalResource.java:48)
      	at org.junit.rules.ExternalResource$1.evaluate(ExternalResource.java:48)
      	at org.junit.rules.ExternalResource$1.evaluate(ExternalResource.java:48)
      	at org.junit.rules.RunRules.evaluate(RunRules.java:20)
      	at org.junit.runners.ParentRunner.run(ParentRunner.java:309)
      	at org.junit.runner.JUnitCore.run(JUnitCore.java:160)
      	at com.intellij.junit4.JUnit4IdeaTestRunner.startRunnerWithArgs(JUnit4IdeaTestRunner.java:119)
      	at com.intellij.junit4.JUnit4IdeaTestRunner.startRunnerWithArgs(JUnit4IdeaTestRunner.java:42)
      	at com.intellij.rt.execution.junit.JUnitStarter.prepareStreamsAndStart(JUnitStarter.java:234)
      	at com.intellij.rt.execution.junit.JUnitStarter.main(JUnitStarter.java:74)
      Caused by: co.cask.tephra.TransactionFailureException: Transaction 1469662125295000000 is not in progress.
      	at co.cask.tephra.TransactionContext.commit(TransactionContext.java:290)
      	at co.cask.tephra.TransactionContext.finish(TransactionContext.java:116)
      	at co.cask.tephra.DefaultTransactionExecutor.executeOnce(DefaultTransactionExecutor.java:142)
      	at co.cask.tephra.DefaultTransactionExecutor.executeWithRetry(DefaultTransactionExecutor.java:115)
      	at co.cask.tephra.DefaultTransactionExecutor.execute(DefaultTransactionExecutor.java:72)
      	at co.cask.tephra.AbstractTransactionExecutor.executeUnchecked(AbstractTransactionExecutor.java:41)
      	... 40 more
      Caused by: co.cask.tephra.TransactionNotInProgressException: canCommit() is called for transaction 1469662125295000000 that is not in progress (it is known to be invalid)
      	at co.cask.tephra.TransactionManager.commit(TransactionManager.java:852)
      	at co.cask.tephra.inmemory.InMemoryTxSystemClient.commit(InMemoryTxSystemClient.java:73)
      	at co.cask.tephra.TransactionContext.commit(TransactionContext.java:286)
      	... 45 more
      

        Attachments

          Activity

            People

            • Assignee:
              ashau Albert Shau
              Reporter:
              kashif Kashif Nazir
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: