[ https://issues.apache.org/jira/browse/HIVE-8070?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14132070#comment-14132070 ]
Hive QA commented on HIVE-8070: ------------------------------- {color:red}Overall{color}: -1 no tests executed Here are the results of testing the latest attachment: https://issues.apache.org/jira/secure/attachment/12668283/HIVE-8070.1.patch Test results: http://ec2-174-129-184-35.compute-1.amazonaws.com/jenkins/job/PreCommit-HIVE-TRUNK-Build/765/testReport Console output: http://ec2-174-129-184-35.compute-1.amazonaws.com/jenkins/job/PreCommit-HIVE-TRUNK-Build/765/console Test logs: http://ec2-174-129-184-35.compute-1.amazonaws.com/logs/PreCommit-HIVE-TRUNK-Build-765/ Messages: {noformat} **** This message was trimmed, see log for full details **** [INFO] --- maven-resources-plugin:2.6:testResources (default-testResources) @ hive-webhcat --- [INFO] Using 'UTF-8' encoding to copy filtered resources. [INFO] skip non existing resourceDirectory /data/hive-ptest/working/apache-svn-trunk-source/hcatalog/webhcat/svr/src/test/resources [INFO] Copying 3 resources [INFO] [INFO] --- maven-antrun-plugin:1.7:run (setup-test-dirs) @ hive-webhcat --- [INFO] Executing tasks main: [mkdir] Created dir: /data/hive-ptest/working/apache-svn-trunk-source/hcatalog/webhcat/svr/target/tmp [mkdir] Created dir: /data/hive-ptest/working/apache-svn-trunk-source/hcatalog/webhcat/svr/target/warehouse [mkdir] Created dir: /data/hive-ptest/working/apache-svn-trunk-source/hcatalog/webhcat/svr/target/tmp/conf [copy] Copying 7 files to /data/hive-ptest/working/apache-svn-trunk-source/hcatalog/webhcat/svr/target/tmp/conf [INFO] Executed tasks [INFO] [INFO] --- maven-compiler-plugin:3.1:testCompile (default-testCompile) @ hive-webhcat --- [INFO] Compiling 9 source files to /data/hive-ptest/working/apache-svn-trunk-source/hcatalog/webhcat/svr/target/test-classes [WARNING] /data/hive-ptest/working/apache-svn-trunk-source/hcatalog/webhcat/svr/src/test/java/org/apache/hive/hcatalog/templeton/TestDesc.java: Some input files use unchecked or unsafe operations. [WARNING] /data/hive-ptest/working/apache-svn-trunk-source/hcatalog/webhcat/svr/src/test/java/org/apache/hive/hcatalog/templeton/TestDesc.java: Recompile with -Xlint:unchecked for details. [INFO] [INFO] --- maven-surefire-plugin:2.16:test (default-test) @ hive-webhcat --- [INFO] Tests are skipped. [INFO] [INFO] --- maven-jar-plugin:2.2:jar (default-jar) @ hive-webhcat --- [INFO] Building jar: /data/hive-ptest/working/apache-svn-trunk-source/hcatalog/webhcat/svr/target/hive-webhcat-0.14.0-SNAPSHOT.jar [INFO] [INFO] --- maven-site-plugin:3.3:attach-descriptor (attach-descriptor) @ hive-webhcat --- [INFO] [INFO] --- maven-install-plugin:2.4:install (default-install) @ hive-webhcat --- [INFO] Installing /data/hive-ptest/working/apache-svn-trunk-source/hcatalog/webhcat/svr/target/hive-webhcat-0.14.0-SNAPSHOT.jar to /data/hive-ptest/working/maven/org/apache/hive/hcatalog/hive-webhcat/0.14.0-SNAPSHOT/hive-webhcat-0.14.0-SNAPSHOT.jar [INFO] Installing /data/hive-ptest/working/apache-svn-trunk-source/hcatalog/webhcat/svr/pom.xml to /data/hive-ptest/working/maven/org/apache/hive/hcatalog/hive-webhcat/0.14.0-SNAPSHOT/hive-webhcat-0.14.0-SNAPSHOT.pom [INFO] [INFO] ------------------------------------------------------------------------ [INFO] Building Hive HCatalog Streaming 0.14.0-SNAPSHOT [INFO] ------------------------------------------------------------------------ [INFO] [INFO] --- maven-clean-plugin:2.5:clean (default-clean) @ hive-hcatalog-streaming --- [INFO] Deleting /data/hive-ptest/working/apache-svn-trunk-source/hcatalog/streaming (includes = [datanucleus.log, derby.log], excludes = []) [INFO] [INFO] --- maven-remote-resources-plugin:1.5:process (default) @ hive-hcatalog-streaming --- [INFO] [INFO] --- maven-resources-plugin:2.6:resources (default-resources) @ hive-hcatalog-streaming --- [INFO] Using 'UTF-8' encoding to copy filtered resources. [INFO] skip non existing resourceDirectory /data/hive-ptest/working/apache-svn-trunk-source/hcatalog/streaming/src/main/resources [INFO] Copying 3 resources [INFO] [INFO] --- maven-antrun-plugin:1.7:run (define-classpath) @ hive-hcatalog-streaming --- [INFO] Executing tasks main: [INFO] Executed tasks [INFO] [INFO] --- maven-compiler-plugin:3.1:compile (default-compile) @ hive-hcatalog-streaming --- [INFO] Compiling 21 source files to /data/hive-ptest/working/apache-svn-trunk-source/hcatalog/streaming/target/classes [WARNING] /data/hive-ptest/working/apache-svn-trunk-source/hcatalog/streaming/src/java/org/apache/hive/hcatalog/streaming/DelimitedInputWriter.java: Some input files use or override a deprecated API. [WARNING] /data/hive-ptest/working/apache-svn-trunk-source/hcatalog/streaming/src/java/org/apache/hive/hcatalog/streaming/DelimitedInputWriter.java: Recompile with -Xlint:deprecation for details. [WARNING] /data/hive-ptest/working/apache-svn-trunk-source/hcatalog/streaming/src/java/org/apache/hive/hcatalog/streaming/HiveEndPoint.java: /data/hive-ptest/working/apache-svn-trunk-source/hcatalog/streaming/src/java/org/apache/hive/hcatalog/streaming/HiveEndPoint.java uses unchecked or unsafe operations. [WARNING] /data/hive-ptest/working/apache-svn-trunk-source/hcatalog/streaming/src/java/org/apache/hive/hcatalog/streaming/HiveEndPoint.java: Recompile with -Xlint:unchecked for details. [INFO] [INFO] --- maven-resources-plugin:2.6:testResources (default-testResources) @ hive-hcatalog-streaming --- [INFO] Using 'UTF-8' encoding to copy filtered resources. [INFO] skip non existing resourceDirectory /data/hive-ptest/working/apache-svn-trunk-source/hcatalog/streaming/src/test/resources [INFO] Copying 3 resources [INFO] [INFO] --- maven-antrun-plugin:1.7:run (setup-test-dirs) @ hive-hcatalog-streaming --- [INFO] Executing tasks main: [mkdir] Created dir: /data/hive-ptest/working/apache-svn-trunk-source/hcatalog/streaming/target/tmp [mkdir] Created dir: /data/hive-ptest/working/apache-svn-trunk-source/hcatalog/streaming/target/warehouse [mkdir] Created dir: /data/hive-ptest/working/apache-svn-trunk-source/hcatalog/streaming/target/tmp/conf [copy] Copying 7 files to /data/hive-ptest/working/apache-svn-trunk-source/hcatalog/streaming/target/tmp/conf [INFO] Executed tasks [INFO] [INFO] --- maven-compiler-plugin:3.1:testCompile (default-testCompile) @ hive-hcatalog-streaming --- [INFO] Compiling 3 source files to /data/hive-ptest/working/apache-svn-trunk-source/hcatalog/streaming/target/test-classes [WARNING] /data/hive-ptest/working/apache-svn-trunk-source/hcatalog/streaming/src/test/org/apache/hive/hcatalog/streaming/TestStreaming.java: /data/hive-ptest/working/apache-svn-trunk-source/hcatalog/streaming/src/test/org/apache/hive/hcatalog/streaming/TestStreaming.java uses unchecked or unsafe operations. [WARNING] /data/hive-ptest/working/apache-svn-trunk-source/hcatalog/streaming/src/test/org/apache/hive/hcatalog/streaming/TestStreaming.java: Recompile with -Xlint:unchecked for details. [INFO] [INFO] --- maven-surefire-plugin:2.16:test (default-test) @ hive-hcatalog-streaming --- [INFO] Tests are skipped. [INFO] [INFO] --- maven-jar-plugin:2.2:jar (default-jar) @ hive-hcatalog-streaming --- [INFO] Building jar: /data/hive-ptest/working/apache-svn-trunk-source/hcatalog/streaming/target/hive-hcatalog-streaming-0.14.0-SNAPSHOT.jar [INFO] [INFO] --- maven-site-plugin:3.3:attach-descriptor (attach-descriptor) @ hive-hcatalog-streaming --- [INFO] [INFO] --- maven-jar-plugin:2.2:test-jar (default) @ hive-hcatalog-streaming --- [INFO] Building jar: /data/hive-ptest/working/apache-svn-trunk-source/hcatalog/streaming/target/hive-hcatalog-streaming-0.14.0-SNAPSHOT-tests.jar [INFO] [INFO] --- maven-install-plugin:2.4:install (default-install) @ hive-hcatalog-streaming --- [INFO] Installing /data/hive-ptest/working/apache-svn-trunk-source/hcatalog/streaming/target/hive-hcatalog-streaming-0.14.0-SNAPSHOT.jar to /data/hive-ptest/working/maven/org/apache/hive/hcatalog/hive-hcatalog-streaming/0.14.0-SNAPSHOT/hive-hcatalog-streaming-0.14.0-SNAPSHOT.jar [INFO] Installing /data/hive-ptest/working/apache-svn-trunk-source/hcatalog/streaming/pom.xml to /data/hive-ptest/working/maven/org/apache/hive/hcatalog/hive-hcatalog-streaming/0.14.0-SNAPSHOT/hive-hcatalog-streaming-0.14.0-SNAPSHOT.pom [INFO] Installing /data/hive-ptest/working/apache-svn-trunk-source/hcatalog/streaming/target/hive-hcatalog-streaming-0.14.0-SNAPSHOT-tests.jar to /data/hive-ptest/working/maven/org/apache/hive/hcatalog/hive-hcatalog-streaming/0.14.0-SNAPSHOT/hive-hcatalog-streaming-0.14.0-SNAPSHOT-tests.jar [INFO] [INFO] ------------------------------------------------------------------------ [INFO] Building Hive HWI 0.14.0-SNAPSHOT [INFO] ------------------------------------------------------------------------ [INFO] [INFO] --- maven-clean-plugin:2.5:clean (default-clean) @ hive-hwi --- [INFO] Deleting /data/hive-ptest/working/apache-svn-trunk-source/hwi (includes = [datanucleus.log, derby.log], excludes = []) [INFO] [INFO] --- maven-remote-resources-plugin:1.5:process (default) @ hive-hwi --- [INFO] [INFO] --- maven-resources-plugin:2.6:resources (default-resources) @ hive-hwi --- [INFO] Using 'UTF-8' encoding to copy filtered resources. [INFO] skip non existing resourceDirectory /data/hive-ptest/working/apache-svn-trunk-source/hwi/src/main/resources [INFO] Copying 3 resources [INFO] [INFO] --- maven-antrun-plugin:1.7:run (define-classpath) @ hive-hwi --- [INFO] Executing tasks main: [INFO] Executed tasks [INFO] [INFO] --- maven-compiler-plugin:3.1:compile (default-compile) @ hive-hwi --- [INFO] Compiling 6 source files to /data/hive-ptest/working/apache-svn-trunk-source/hwi/target/classes [INFO] [INFO] --- maven-resources-plugin:2.6:testResources (default-testResources) @ hive-hwi --- [INFO] Using 'UTF-8' encoding to copy filtered resources. [INFO] skip non existing resourceDirectory /data/hive-ptest/working/apache-svn-trunk-source/hwi/src/test/resources [INFO] Copying 3 resources [INFO] [INFO] --- maven-antrun-plugin:1.7:run (setup-test-dirs) @ hive-hwi --- [INFO] Executing tasks main: [mkdir] Created dir: /data/hive-ptest/working/apache-svn-trunk-source/hwi/target/tmp [mkdir] Created dir: /data/hive-ptest/working/apache-svn-trunk-source/hwi/target/warehouse [mkdir] Created dir: /data/hive-ptest/working/apache-svn-trunk-source/hwi/target/tmp/conf [copy] Copying 7 files to /data/hive-ptest/working/apache-svn-trunk-source/hwi/target/tmp/conf [INFO] Executed tasks [INFO] [INFO] --- maven-compiler-plugin:3.1:testCompile (default-testCompile) @ hive-hwi --- [INFO] Compiling 2 source files to /data/hive-ptest/working/apache-svn-trunk-source/hwi/target/test-classes [INFO] ------------------------------------------------------------- [ERROR] COMPILATION ERROR : [INFO] ------------------------------------------------------------- [ERROR] /data/hive-ptest/working/apache-svn-trunk-source/hwi/src/test/org/apache/hadoop/hive/hwi/TestHWIServer.java:[54,51] <identifier> expected [ERROR] /data/hive-ptest/working/apache-svn-trunk-source/hwi/src/test/org/apache/hadoop/hive/hwi/TestHWIServer.java:[54,68] unclosed string literal [ERROR] /data/hive-ptest/working/apache-svn-trunk-source/hwi/src/test/org/apache/hadoop/hive/hwi/TestHWIServer.java:[54,71] ';' expected [INFO] 3 errors [INFO] ------------------------------------------------------------- [INFO] ------------------------------------------------------------------------ [INFO] Reactor Summary: [INFO] [INFO] Hive .............................................. SUCCESS [11.060s] [INFO] Hive Shims Common ................................. SUCCESS [8.077s] [INFO] Hive Shims 0.20 ................................... SUCCESS [3.613s] [INFO] Hive Shims Secure Common .......................... SUCCESS [5.069s] [INFO] Hive Shims 0.20S .................................. SUCCESS [2.364s] [INFO] Hive Shims 0.23 ................................... SUCCESS [6.749s] [INFO] Hive Shims ........................................ SUCCESS [1.298s] [INFO] Hive Common ....................................... SUCCESS [22.178s] [INFO] Hive Serde ........................................ SUCCESS [15.864s] [INFO] Hive Metastore .................................... SUCCESS [40.795s] [INFO] Hive Ant Utilities ................................ SUCCESS [1.841s] [INFO] Hive Query Language ............................... SUCCESS [1:32.718s] [INFO] Hive Service ...................................... SUCCESS [8.832s] [INFO] Hive Accumulo Handler ............................. SUCCESS [6.063s] [INFO] Hive JDBC ......................................... SUCCESS [38.026s] [INFO] Hive Beeline ...................................... SUCCESS [2.610s] [INFO] Hive CLI .......................................... SUCCESS [2.150s] [INFO] Hive Contrib ...................................... SUCCESS [1.442s] [INFO] Hive HBase Handler ................................ SUCCESS [7.465s] [INFO] Hive HCatalog ..................................... SUCCESS [0.414s] [INFO] Hive HCatalog Core ................................ SUCCESS [2.655s] [INFO] Hive HCatalog Pig Adapter ......................... SUCCESS [2.026s] [INFO] Hive HCatalog Server Extensions ................... SUCCESS [1.564s] [INFO] Hive HCatalog Webhcat Java Client ................. SUCCESS [1.481s] [INFO] Hive HCatalog Webhcat ............................. SUCCESS [10.399s] [INFO] Hive HCatalog Streaming ........................... SUCCESS [1.647s] [INFO] Hive HWI .......................................... FAILURE [1.230s] [INFO] Hive ODBC ......................................... SKIPPED [INFO] Hive Shims Aggregator ............................. SKIPPED [INFO] Hive TestUtils .................................... SKIPPED [INFO] Hive Packaging .................................... SKIPPED [INFO] ------------------------------------------------------------------------ [INFO] BUILD FAILURE [INFO] ------------------------------------------------------------------------ [INFO] Total time: 5:02.899s [INFO] Finished at: Fri Sep 12 16:40:51 EDT 2014 [INFO] Final Memory: 142M/719M [INFO] ------------------------------------------------------------------------ [ERROR] Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:3.1:testCompile (default-testCompile) on project hive-hwi: Compilation failure: Compilation failure: [ERROR] /data/hive-ptest/working/apache-svn-trunk-source/hwi/src/test/org/apache/hadoop/hive/hwi/TestHWIServer.java:[54,51] <identifier> expected [ERROR] /data/hive-ptest/working/apache-svn-trunk-source/hwi/src/test/org/apache/hadoop/hive/hwi/TestHWIServer.java:[54,68] unclosed string literal [ERROR] /data/hive-ptest/working/apache-svn-trunk-source/hwi/src/test/org/apache/hadoop/hive/hwi/TestHWIServer.java:[54,71] ';' expected [ERROR] -> [Help 1] [ERROR] [ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch. [ERROR] Re-run Maven using the -X switch to enable full debug logging. [ERROR] [ERROR] For more information about the errors and possible solutions, please read the following articles: [ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoFailureException [ERROR] [ERROR] After correcting the problems, you can resume the build with the command [ERROR] mvn <goals> -rf :hive-hwi + exit 1 ' {noformat} This message is automatically generated. ATTACHMENT ID: 12668283 > TestHWIServer failed due to wrong references to war and properties file > ----------------------------------------------------------------------- > > Key: HIVE-8070 > URL: https://issues.apache.org/jira/browse/HIVE-8070 > Project: Hive > Issue Type: Test > Components: Tests > Affects Versions: 0.13.1 > Reporter: Bing Li > Assignee: Bing Li > Fix For: 0.14.0 > > Attachments: HIVE-8070.1.patch > > > In testServerInit() method of that test class, it's still using > build.properties to retrieve the version # for the war file name -- This message was sent by Atlassian JIRA (v6.3.4#6332)