[ 
https://issues.apache.org/jira/browse/HIVE-19969?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16522057#comment-16522057
 ] 

Hive QA commented on HIVE-19969:
--------------------------------



Here are the results of testing the latest attachment:
https://issues.apache.org/jira/secure/attachment/12928995/HIVE-19969.1.patch

{color:red}ERROR:{color} -1 due to build exiting with an error

Test results: 
https://builds.apache.org/job/PreCommit-HIVE-Build/12089/testReport
Console output: https://builds.apache.org/job/PreCommit-HIVE-Build/12089/console
Test logs: http://104.198.109.242/logs/PreCommit-HIVE-Build-12089/

Messages:
{noformat}
Executing org.apache.hive.ptest.execution.TestCheckPhase
Executing org.apache.hive.ptest.execution.PrepPhase
Tests exited with: NonZeroExitCodeException
Command 'bash /data/hiveptest/working/scratch/source-prep.sh' failed with exit 
status 1 and output '+ date '+%Y-%m-%d %T.%3N'
2018-06-25 08:58:13.444
+ [[ -n /usr/lib/jvm/java-8-openjdk-amd64 ]]
+ export JAVA_HOME=/usr/lib/jvm/java-8-openjdk-amd64
+ JAVA_HOME=/usr/lib/jvm/java-8-openjdk-amd64
+ export 
PATH=/usr/lib/jvm/java-8-openjdk-amd64/bin/:/usr/local/bin:/usr/bin:/bin:/usr/local/games:/usr/games
+ 
PATH=/usr/lib/jvm/java-8-openjdk-amd64/bin/:/usr/local/bin:/usr/bin:/bin:/usr/local/games:/usr/games
+ export 'ANT_OPTS=-Xmx1g -XX:MaxPermSize=256m '
+ ANT_OPTS='-Xmx1g -XX:MaxPermSize=256m '
+ export 'MAVEN_OPTS=-Xmx1g '
+ MAVEN_OPTS='-Xmx1g '
+ cd /data/hiveptest/working/
+ tee /data/hiveptest/logs/PreCommit-HIVE-Build-12089/source-prep.txt
+ [[ false == \t\r\u\e ]]
+ mkdir -p maven ivy
+ [[ git = \s\v\n ]]
+ [[ git = \g\i\t ]]
+ [[ -z master ]]
+ [[ -d apache-github-source-source ]]
+ [[ ! -d apache-github-source-source/.git ]]
+ [[ ! -d apache-github-source-source ]]
+ date '+%Y-%m-%d %T.%3N'
2018-06-25 08:58:13.446
+ cd apache-github-source-source
+ git fetch origin
+ git reset --hard HEAD
HEAD is now at 2277661 HIVE-19922: 
TestMiniDruidKafkaCliDriver[druidkafkamini_basic] is flaky (Peter Vary, 
reviewed by Jason Dere)
+ git clean -f -d
+ git checkout master
Already on 'master'
Your branch is up-to-date with 'origin/master'.
+ git reset --hard origin/master
HEAD is now at 2277661 HIVE-19922: 
TestMiniDruidKafkaCliDriver[druidkafkamini_basic] is flaky (Peter Vary, 
reviewed by Jason Dere)
+ git merge --ff-only origin/master
Already up-to-date.
+ date '+%Y-%m-%d %T.%3N'
2018-06-25 08:58:14.039
+ rm -rf ../yetus_PreCommit-HIVE-Build-12089
+ mkdir ../yetus_PreCommit-HIVE-Build-12089
+ git gc
+ cp -R . ../yetus_PreCommit-HIVE-Build-12089
+ mkdir /data/hiveptest/logs/PreCommit-HIVE-Build-12089/yetus
+ patchCommandPath=/data/hiveptest/working/scratch/smart-apply-patch.sh
+ patchFilePath=/data/hiveptest/working/scratch/build.patch
+ [[ -f /data/hiveptest/working/scratch/build.patch ]]
+ chmod +x /data/hiveptest/working/scratch/smart-apply-patch.sh
+ /data/hiveptest/working/scratch/smart-apply-patch.sh 
/data/hiveptest/working/scratch/build.patch
Going to apply patch with: git apply -p0
+ [[ maven == \m\a\v\e\n ]]
+ rm -rf /data/hiveptest/working/maven/org/apache/hive
+ mvn -B clean install -DskipTests -T 4 -q 
-Dmaven.repo.local=/data/hiveptest/working/maven
protoc-jar: executing: [/tmp/protoc7700311896709922433.exe, --version]
protoc-jar: executing: [/tmp/protoc7700311896709922433.exe, 
-I/data/hiveptest/working/apache-github-source-source/standalone-metastore/src/main/protobuf/org/apache/hadoop/hive/metastore,
 
--java_out=/data/hiveptest/working/apache-github-source-source/standalone-metastore/target/generated-sources,
 
/data/hiveptest/working/apache-github-source-source/standalone-metastore/src/main/protobuf/org/apache/hadoop/hive/metastore/metastore.proto]
libprotoc 2.5.0
ANTLR Parser Generator  Version 3.5.2
Output file 
/data/hiveptest/working/apache-github-source-source/standalone-metastore/target/generated-sources/org/apache/hadoop/hive/metastore/parser/FilterParser.java
 does not exist: must build 
/data/hiveptest/working/apache-github-source-source/standalone-metastore/src/main/java/org/apache/hadoop/hive/metastore/parser/Filter.g
org/apache/hadoop/hive/metastore/parser/Filter.g
[ERROR] COMPILATION ERROR : 
[ERROR] 
/data/hiveptest/working/apache-github-source-source/serde/src/test/org/apache/hadoop/hive/serde2/io/TestTimestampWritable.java:[46,8]
 class TestTimestampWritableV2 is public, should be declared in a file named 
TestTimestampWritableV2.java
[ERROR] 
/data/hiveptest/working/apache-github-source-source/serde/src/test/org/apache/hadoop/hive/serde2/io/TestDateWritable.java:[48,8]
 class TestDateWritableV2 is public, should be declared in a file named 
TestDateWritableV2.java
log4j:WARN No appenders could be found for logger (DataNucleus.Persistence).
log4j:WARN Please initialize the log4j system properly.
DataNucleus Enhancer (version 4.1.17) for API "JDO"
[ERROR] Failed to execute goal 
org.apache.maven.plugins:maven-compiler-plugin:3.6.1:testCompile 
(default-testCompile) on project hive-serde: Compilation failure: Compilation 
failure:
[ERROR] 
/data/hiveptest/working/apache-github-source-source/serde/src/test/org/apache/hadoop/hive/serde2/io/TestTimestampWritable.java:[46,8]
 class TestTimestampWritableV2 is public, should be declared in a file named 
TestTimestampWritableV2.java
[ERROR] 
/data/hiveptest/working/apache-github-source-source/serde/src/test/org/apache/hadoop/hive/serde2/io/TestDateWritable.java:[48,8]
 class TestDateWritableV2 is public, should be declared in a file named 
TestDateWritableV2.java
[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-serde
+ result=1
+ '[' 1 -ne 0 ']'
+ rm -rf yetus_PreCommit-HIVE-Build-12089
+ exit 1
'
{noformat}

This message is automatically generated.

ATTACHMENT ID: 12928995 - PreCommit-HIVE-Build

> Dependency order (dirlist) assessment fails in yetus run
> --------------------------------------------------------
>
>                 Key: HIVE-19969
>                 URL: https://issues.apache.org/jira/browse/HIVE-19969
>             Project: Hive
>          Issue Type: Bug
>            Reporter: Adam Szita
>            Assignee: Adam Szita
>            Priority: Major
>         Attachments: HIVE-19969.0.patch, HIVE-19969.1.patch
>
>
> As seen here, the dirlist step of yetus fails to determine order of modules 
> to be built. It silently falls back to alphabetical order which may or may 
> not work depending on the patch.
> {code:java}
> Thu Jun 21 02:43:04 UTC 2018
> cd /data/hiveptest/working/yetus_PreCommit-HIVE-Build-11958
> mvn -q exec:exec -Dexec.executable=pwd -Dexec.args=''
> /data/hiveptest/working/yetus_PreCommit-HIVE-Build-11958/storage-api
> /data/hiveptest/working/yetus_PreCommit-HIVE-Build-11958/upgrade-acid
> /data/hiveptest/working/yetus_PreCommit-HIVE-Build-11958
> /data/hiveptest/working/yetus_PreCommit-HIVE-Build-11958/classification
> /data/hiveptest/working/yetus_PreCommit-HIVE-Build-11958/shims/common
> /data/hiveptest/working/yetus_PreCommit-HIVE-Build-11958/shims/0.23
> /data/hiveptest/working/yetus_PreCommit-HIVE-Build-11958/shims/scheduler
> /data/hiveptest/working/yetus_PreCommit-HIVE-Build-11958/shims/aggregator
> /data/hiveptest/working/yetus_PreCommit-HIVE-Build-11958/common
> /data/hiveptest/working/yetus_PreCommit-HIVE-Build-11958/service-rpc
> /data/hiveptest/working/yetus_PreCommit-HIVE-Build-11958/serde
> Usage: java [-options] class [args...]
>            (to execute a class)
>    or  java [-options] -jar jarfile [args...]
>            (to execute a jar file)
> where options include:{code}
> The problem is in standalone-metastore module: maven plugin 'exec' has a 
> global config set {{executable=java}} disregarding the dirlist task's 
> {{-Dexec.executable=pwd}} and causing the above error.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to