maven - HIVE: testMapPlan1(org.apache.hadoop.hive.ql.exec.TestExecDriver) Failed -
[info] hive query language ............................... failure
hive appears have build correctly, however, testexecdriver failed:
tests run: 8, failures: 8, errors: 0, skipped: 0, time elapsed: 23.331 sec <<< failure! - in org.apache.hadoop.hive.ql.exec.testexecdriver
vagrant@vagrant-ubuntu-trusty-64:~$ uname -a linux vagrant-ubuntu-trusty-64 3.13.0-32-generic #57-ubuntu smp tue jul 15 03:51:08 utc 2014 x86_64 x86_64 x86_64 gnu/linux
vagrant@vagrant-ubuntu-trusty-64:~/hive$ mvn clean install -phadoop-2,dist -x
...
tests run: 8, failures: 8, errors: 0, skipped: 0, time elapsed: 23.331 sec <<< failure! - in org.apache.hadoop.hive.ql.exec.testexecdriver testmapplan1(org.apache.hadoop.hive.ql.exec.testexecdriver) time elapsed: 1.621 sec <<< failure! junit.framework.assertionfailederror: expected:<true> was:<false> @ junit.framework.assert.fail(assert.java:50) @ junit.framework.assert.failnotequals(assert.java:287) @ junit.framework.assert.assertequals(assert.java:67) @ junit.framework.assert.assertequals(assert.java:147) @ junit.framework.assert.assertequals(assert.java:153) @ org.apache.hadoop.hive.ql.exec.testexecdriver.executeplan(testexecdriver.java:478) @ org.apache.hadoop.hive.ql.exec.testexecdriver.testmapplan1(testexecdriver.java:487) testmapplan2(org.apache.hadoop.hive.ql.exec.testexecdriver) time elapsed: 0.828 sec <<< failure! junit.framework.assertionfailederror: expected:<true> was:<false> @ junit.framework.assert.fail(assert.java:50) @ junit.framework.assert.failnotequals(assert.java:287) @ junit.framework.assert.assertequals(assert.java:67) @ junit.framework.assert.assertequals(assert.java:147) @ junit.framework.assert.assertequals(assert.java:153) @ org.apache.hadoop.hive.ql.exec.testexecdriver.executeplan(testexecdriver.java:478) @ org.apache.hadoop.hive.ql.exec.testexecdriver.testmapplan2(testexecdriver.java:495) testmapredplan1(org.apache.hadoop.hive.ql.exec.testexecdriver) time elapsed: 0.853 sec <<< failure! junit.framework.assertionfailederror: expected:<true> was:<false> @ junit.framework.assert.fail(assert.java:50) @ junit.framework.assert.failnotequals(assert.java:287) @ junit.framework.assert.assertequals(assert.java:67) @ junit.framework.assert.assertequals(assert.java:147) @ junit.framework.assert.assertequals(assert.java:153) @ org.apache.hadoop.hive.ql.exec.testexecdriver.executeplan(testexecdriver.java:478) @ org.apache.hadoop.hive.ql.exec.testexecdriver.testmapredplan1(testexecdriver.java:504) testmapredplan2(org.apache.hadoop.hive.ql.exec.testexecdriver) time elapsed: 0.691 sec <<< failure! junit.framework.assertionfailederror: expected:<true> was:<false> @ junit.framework.assert.fail(assert.java:50) @ junit.framework.assert.failnotequals(assert.java:287) @ junit.framework.assert.assertequals(assert.java:67) @ junit.framework.assert.assertequals(assert.java:147) @ junit.framework.assert.assertequals(assert.java:153) @ org.apache.hadoop.hive.ql.exec.testexecdriver.executeplan(testexecdriver.java:478) @ org.apache.hadoop.hive.ql.exec.testexecdriver.testmapredplan2(testexecdriver.java:513) testmapredplan3(org.apache.hadoop.hive.ql.exec.testexecdriver) time elapsed: 0.788 sec <<< failure! junit.framework.assertionfailederror: expected:<true> was:<false> @ junit.framework.assert.fail(assert.java:50) @ junit.framework.assert.failnotequals(assert.java:287) @ junit.framework.assert.assertequals(assert.java:67) @ junit.framework.assert.assertequals(assert.java:147) @ junit.framework.assert.assertequals(assert.java:153) @ org.apache.hadoop.hive.ql.exec.testexecdriver.executeplan(testexecdriver.java:478) @ org.apache.hadoop.hive.ql.exec.testexecdriver.testmapredplan3(testexecdriver.java:522) testmapredplan4(org.apache.hadoop.hive.ql.exec.testexecdriver) time elapsed: 0.712 sec <<< failure! junit.framework.assertionfailederror: expected:<true> was:<false> @ junit.framework.assert.fail(assert.java:50) @ junit.framework.assert.failnotequals(assert.java:287) @ junit.framework.assert.assertequals(assert.java:67) @ junit.framework.assert.assertequals(assert.java:147) @ junit.framework.assert.assertequals(assert.java:153) @ org.apache.hadoop.hive.ql.exec.testexecdriver.executeplan(testexecdriver.java:478) @ org.apache.hadoop.hive.ql.exec.testexecdriver.testmapredplan4(testexecdriver.java:531) testmapredplan5(org.apache.hadoop.hive.ql.exec.testexecdriver) time elapsed: 0.676 sec <<< failure! junit.framework.assertionfailederror: expected:<true> was:<false> @ junit.framework.assert.fail(assert.java:50) @ junit.framework.assert.failnotequals(assert.java:287) @ junit.framework.assert.assertequals(assert.java:67) @ junit.framework.assert.assertequals(assert.java:147) @ junit.framework.assert.assertequals(assert.java:153) @ org.apache.hadoop.hive.ql.exec.testexecdriver.executeplan(testexecdriver.java:478) @ org.apache.hadoop.hive.ql.exec.testexecdriver.testmapredplan5(testexecdriver.java:540) testmapredplan6(org.apache.hadoop.hive.ql.exec.testexecdriver) time elapsed: 0.748 sec <<< failure! junit.framework.assertionfailederror: expected:<true> was:<false> @ junit.framework.assert.fail(assert.java:50) @ junit.framework.assert.failnotequals(assert.java:287) @ junit.framework.assert.assertequals(assert.java:67) @ junit.framework.assert.assertequals(assert.java:147) @ junit.framework.assert.assertequals(assert.java:153) @ org.apache.hadoop.hive.ql.exec.testexecdriver.executeplan(testexecdriver.java:478) @ org.apache.hadoop.hive.ql.exec.testexecdriver.testmapredplan6(testexecdriver.java:549) [error] failed execute goal org.apache.maven.plugins:maven-surefire-plugin:2.16:test (default-test) on project hive-exec: there test failures. [error] [error] please refer /home/vagrant/hive/ql/target/surefire-reports individual test results. [error] -> [help 1] org.apache.maven.lifecycle.lifecycleexecutionexception: failed execute goal org.apache.maven.plugins:maven-surefire-plugin:2.16:test (default-test) on project hive-exec: there test failures. please refer /home/vagrant/hive/ql/target/surefire-reports individual test results. @ org.apache.maven.lifecycle.internal.mojoexecutor.execute(mojoexecutor.java:213) @ org.apache.maven.lifecycle.internal.mojoexecutor.execute(mojoexecutor.java:153) @ org.apache.maven.lifecycle.internal.mojoexecutor.execute(mojoexecutor.java:145) @ org.apache.maven.lifecycle.internal.lifecyclemodulebuilder.buildproject(lifecyclemodulebuilder.java:84) @ org.apache.maven.lifecycle.internal.lifecyclemodulebuilder.buildproject(lifecyclemodulebuilder.java:59) @ org.apache.maven.lifecycle.internal.lifecyclestarter.singlethreadedbuild(lifecyclestarter.java:183) @ org.apache.maven.lifecycle.internal.lifecyclestarter.execute(lifecyclestarter.java:161) @ org.apache.maven.defaultmaven.doexecute(defaultmaven.java:320) @ org.apache.maven.defaultmaven.execute(defaultmaven.java:156) @ org.apache.maven.cli.mavencli.execute(mavencli.java:537) @ org.apache.maven.cli.mavencli.domain(mavencli.java:196) @ org.apache.maven.cli.mavencli.main(mavencli.java:141) @ sun.reflect.nativemethodaccessorimpl.invoke0(native method) @ sun.reflect.nativemethodaccessorimpl.invoke(nativemethodaccessorimpl.java:39) @ sun.reflect.delegatingmethodaccessorimpl.invoke(delegatingmethodaccessorimpl.java:25) @ java.lang.reflect.method.invoke(method.java:597) @ org.codehaus.plexus.classworlds.launcher.launcher.launchenhanced(launcher.java:289) @ org.codehaus.plexus.classworlds.launcher.launcher.launch(launcher.java:229) @ org.codehaus.plexus.classworlds.launcher.launcher.mainwithexitcode(launcher.java:415) @ org.codehaus.plexus.classworlds.launcher.launcher.main(launcher.java:356) caused by: org.apache.maven.plugin.mojofailureexception: there test failures. please refer /home/vagrant/hive/ql/target/surefire-reports individual test results. @ org.apache.maven.plugin.surefire.surefirehelper.reportexecution(surefirehelper.java:82) @ org.apache.maven.plugin.surefire.surefireplugin.handlesummary(surefireplugin.java:190) @ org.apache.maven.plugin.surefire.abstractsurefiremojo.executeafterpreconditionschecked(abstractsurefiremojo.java:852) @ org.apache.maven.plugin.surefire.abstractsurefiremojo.execute(abstractsurefiremojo.java:720) @ org.apache.maven.plugin.defaultbuildpluginmanager.executemojo(defaultbuildpluginmanager.java:101) @ org.apache.maven.lifecycle.internal.mojoexecutor.execute(mojoexecutor.java:209) ... 19 more
i met problem today, , find -dskiptests
should used when first compiling hive, such
mvn clean install -dskiptests
then run mvn install
can pass test.
Comments
Post a Comment