RE: Build hive failure on ubuntu 15.04 with oracle java 1.8

2015-05-27 Thread
This is known issue. https://issues.apache.org/jira/browse/HIVE-10674

 From: yu20...@hotmail.com
 To: dev@hive.apache.org
 Subject: Build hive failure on ubuntu 15.04 with oracle java 1.8
 Date: Tue, 26 May 2015 11:58:45 +0800
 
 Hi guys,
 I tried to built hive 1.2.0 on ubuntu 15.04 with oracle Java 1.8. Then I 
 encountered following problem.What should I do to fix this issue?
 Java HotSpot(TM) 64-Bit Server VM warning: ignoring option MaxPermSize=512m; 
 support was removed in 8.0Running 
 org.apache.hadoop.hive.metastore.TestMetastoreExprTests run: 1, Failures: 0, 
 Errors: 0, Skipped: 0, Time elapsed: 8.719 sec - in 
 org.apache.hadoop.hive.metastore.TestMetastoreExprResults :Failed tests:  
 TestExecDriver.testMapRedPlan1:513-executePlan:487 expected:true but 
 was:false  TestExecDriver.testMapRedPlan2:522-executePlan:487 
 expected:true but was:false  
 TestExecDriver.testMapRedPlan3:531-executePlan:487 expected:true but 
 was:false  TestExecDriver.testMapRedPlan4:540-executePlan:487 
 expected:true but was:false  
 TestExecDriver.testMapRedPlan5:549-executePlan:487 expected:true but 
 was:false  TestExecDriver.testMapRedPlan6:558-executePlan:487 
 expected:true but was:false  
 TestExecDriver.testMapPlan1:496-executePlan:487 expected:true but 
 was:false  TestExecDriver.testMapPlan2:504-executePlan:487 expected:true 
 but was:false  TestSessionState.testReloadExistingAuxJars2:234 Could not 
 find SessionStateTest.jar.v1  TestSessionState.testReloadAuxJars2:191 Could 
 not find SessionStateTest.jar.v1  
 TestSessionState.testReloadExistingAuxJars2:234 Could not find 
 SessionStateTest.jar.v1  TestSessionState.testReloadAuxJars2:191 Could not 
 find SessionStateTest.jar.v1Tests run: 3545, Failures: 12, Errors: 0, 
 Skipped: 1[ERROR] Failed to execute goal 
 org.apache.maven.plugins:maven-surefire-plugin:2.16:test (default-test) on 
 project hive-exec: There are test failures.[ERROR][ERROR] Please refer to 
 /home/hadoop/apache-hive-1.2.0-src/ql/target/surefire-reports for the 
 individual test results.[ERROR] - [Help 
 1]org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute 
 goal org.apache.maven.plugins:maven-surefire-plugin:2.16:test (default-test) 
 on project hive-exec: There are test failures.Please refer to 
 /home/hadoop/apache-hive-1.2.0-src/ql/target/surefire-reports for the 
 individual test results.at 
 org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:213)
 at 
 org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:153)
 at 
 org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:145)
 at 
 org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:84)
 at 
 org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:59)
 at 
 org.apache.maven.lifecycle.internal.LifecycleStarter.singleThreadedBuild(LifecycleStarter.java:183)
 at 
 org.apache.maven.lifecycle.internal.LifecycleStarter.execute(LifecycleStarter.java:161)
 at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:320) 
at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:156)at 
 org.apache.maven.cli.MavenCli.execute(MavenCli.java:537)at 
 org.apache.maven.cli.MavenCli.doMain(MavenCli.java:196)at 
 org.apache.maven.cli.MavenCli.main(MavenCli.java:141)at 
 sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)at 
 sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) 
at 
 sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
 at java.lang.reflect.Method.invoke(Method.java:497)at 
 org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced(Launcher.java:289)
 at 
 org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.java:229)   
  at 
 org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode(Launcher.java:415)
 at 
 org.codehaus.plexus.classworlds.launcher.Launcher.main(Launcher.java:356)Caused
  by: org.apache.maven.plugin.MojoFailureException: There are test 
 failures.Thanks,Jared 
  

run tests failed when building hive query language on hadoop 2.7.0

2015-05-25 Thread
Hi,When I'm building hive 1.2.0 on hadoop 2.7.0. During building hive query 
language and running tests, it failed.What should I do to fix this problem?
Thanks,Jared  

RE: run tests failed when building hive query language on hadoop 2.7.0

2015-05-25 Thread
I'm running on ubuntu 15.04 and JDK version is oracle 1.8.
The debug log is as below,


 DJava HotSpot(TM) 64-Bit Server VM warning: ignoring option MaxPermSize=512m; 
 support was removed in 8.0
Running org.apache.hadoop.hive.metastore.TestMetastoreExpr
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 8.719 sec - in 
org.apache.hadoop.hive.metastore.TestMetastoreExpr

Results :

Failed tests:
  TestExecDriver.testMapRedPlan1:513-executePlan:487 expected:true but 
was:false
  TestExecDriver.testMapRedPlan2:522-executePlan:487 expected:true but 
was:false
  TestExecDriver.testMapRedPlan3:531-executePlan:487 expected:true but 
was:false
  TestExecDriver.testMapRedPlan4:540-executePlan:487 expected:true but 
was:false
  TestExecDriver.testMapRedPlan5:549-executePlan:487 expected:true but 
was:false
  TestExecDriver.testMapRedPlan6:558-executePlan:487 expected:true but 
was:false
  TestExecDriver.testMapPlan1:496-executePlan:487 expected:true but 
was:false
  TestExecDriver.testMapPlan2:504-executePlan:487 expected:true but 
was:false
  TestSessionState.testReloadExistingAuxJars2:234 Could not find 
SessionStateTest.jar.v1
  TestSessionState.testReloadAuxJars2:191 Could not find SessionStateTest.jar.v1
  TestSessionState.testReloadExistingAuxJars2:234 Could not find 
SessionStateTest.jar.v1
  TestSessionState.testReloadAuxJars2:191 Could not find SessionStateTest.jar.v1

Tests run: 3545, Failures: 12, Errors: 0, Skipped: 1
[ERROR] Failed to execute goal 
org.apache.maven.plugins:maven-surefire-plugin:2.16:test (default-test) on 
project hive-exec: There are test failures.
[ERROR]
[ERROR] Please refer to 
/home/hadoop/apache-hive-1.2.0-src/ql/target/surefire-reports for the 
individual test results.
[ERROR] - [Help 1]
org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute goal 
org.apache.maven.plugins:maven-surefire-plugin:2.16:test (default-test) on 
project hive-exec: There are test failures.

Please refer to /home/hadoop/apache-hive-1.2.0-src/ql/target/surefire-reports 
for the individual test results.
at 
org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:213)
at 
org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:153)
at 
org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:145)
at 
org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:84)
at 
org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:59)
at 
org.apache.maven.lifecycle.internal.LifecycleStarter.singleThreadedBuild(LifecycleStarter.java:183)
at 
org.apache.maven.lifecycle.internal.LifecycleStarter.execute(LifecycleStarter.java:161)
at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:320)
at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:156)
at org.apache.maven.cli.MavenCli.execute(MavenCli.java:537)
at org.apache.maven.cli.MavenCli.doMain(MavenCli.java:196)
at org.apache.maven.cli.MavenCli.main(MavenCli.java:141)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:497)
at 
org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced(Launcher.java:289)
at 
org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.java:229)
at 
org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode(Launcher.java:415)
at 
org.codehaus.plexus.classworlds.launcher.Launcher.main(Launcher.java:356)
Caused by: org.apache.maven.plugin.MojoFailureException: There are test 
failures.

Thanks,
Jared

 Subject: Re: run tests failed when building hive query language on hadoop 
 2.7.0
 From: jornfra...@gmail.com
 To: dev@hive.apache.org
 
 Hi 韦,
 You must be a little bit more precise. What is the error message? What is
 your setup (OS, JDK version..)  ?
 
 Thank you.
 
 Best regards
 Le 25 mai 2015 09:11, 煜 韦 yu20...@hotmail.com a écrit :
 
  Hi,When I'm building hive 1.2.0 on hadoop 2.7.0. During building hive
  query language and running tests, it failed.What should I do to fix this
  problem?
  Thanks,Jared
  

Build hive failure on ubuntu 15.04 with oracle java 1.8

2015-05-25 Thread
Hi guys,
I tried to built hive 1.2.0 on ubuntu 15.04 with oracle Java 1.8. Then I 
encountered following problem.What should I do to fix this issue?
Java HotSpot(TM) 64-Bit Server VM warning: ignoring option MaxPermSize=512m; 
support was removed in 8.0Running 
org.apache.hadoop.hive.metastore.TestMetastoreExprTests run: 1, Failures: 0, 
Errors: 0, Skipped: 0, Time elapsed: 8.719 sec - in 
org.apache.hadoop.hive.metastore.TestMetastoreExprResults :Failed tests:  
TestExecDriver.testMapRedPlan1:513-executePlan:487 expected:true but 
was:false  TestExecDriver.testMapRedPlan2:522-executePlan:487 
expected:true but was:false  
TestExecDriver.testMapRedPlan3:531-executePlan:487 expected:true but 
was:false  TestExecDriver.testMapRedPlan4:540-executePlan:487 
expected:true but was:false  
TestExecDriver.testMapRedPlan5:549-executePlan:487 expected:true but 
was:false  TestExecDriver.testMapRedPlan6:558-executePlan:487 
expected:true but was:false  
TestExecDriver.testMapPlan1:496-executePlan:487 expected:true but 
was:false  TestExecDriver.testMapPlan2:504-executePlan:487 expected:true 
but was:false  TestSessionState.testReloadExistingAuxJars2:234 Could not find 
SessionStateTest.jar.v1  TestSessionState.testReloadAuxJars2:191 Could not find 
SessionStateTest.jar.v1  TestSessionState.testReloadExistingAuxJars2:234 Could 
not find SessionStateTest.jar.v1  TestSessionState.testReloadAuxJars2:191 Could 
not find SessionStateTest.jar.v1Tests run: 3545, Failures: 12, Errors: 0, 
Skipped: 1[ERROR] Failed to execute goal 
org.apache.maven.plugins:maven-surefire-plugin:2.16:test (default-test) on 
project hive-exec: There are test failures.[ERROR][ERROR] Please refer to 
/home/hadoop/apache-hive-1.2.0-src/ql/target/surefire-reports for the 
individual test results.[ERROR] - [Help 
1]org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute 
goal org.apache.maven.plugins:maven-surefire-plugin:2.16:test (default-test) on 
project hive-exec: There are test failures.Please refer to 
/home/hadoop/apache-hive-1.2.0-src/ql/target/surefire-reports for the 
individual test results.at 
org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:213) 
   at 
org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:153) 
   at 
org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:145) 
   at 
org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:84)
at 
org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:59)
at 
org.apache.maven.lifecycle.internal.LifecycleStarter.singleThreadedBuild(LifecycleStarter.java:183)
at 
org.apache.maven.lifecycle.internal.LifecycleStarter.execute(LifecycleStarter.java:161)
at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:320)   
 at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:156)at 
org.apache.maven.cli.MavenCli.execute(MavenCli.java:537)at 
org.apache.maven.cli.MavenCli.doMain(MavenCli.java:196)at 
org.apache.maven.cli.MavenCli.main(MavenCli.java:141)at 
sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)at 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)   
 at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:497)at 
org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced(Launcher.java:289)
at 
org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.java:229) 
   at 
org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode(Launcher.java:415)
at 
org.codehaus.plexus.classworlds.launcher.Launcher.main(Launcher.java:356)Caused 
by: org.apache.maven.plugin.MojoFailureException: There are test 
failures.Thanks,Jared