[
https://issues.apache.org/jira/browse/HIVE-21852?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16859420#comment-16859420
]
Hive QA commented on HIVE-21852:
--------------------------------
Here are the results of testing the latest attachment:
https://issues.apache.org/jira/secure/attachment/12971263/HIVE-21852.1.patch
{color:red}ERROR:{color} -1 due to build exiting with an error
Test results:
https://builds.apache.org/job/PreCommit-HIVE-Build/17497/testReport
Console output: https://builds.apache.org/job/PreCommit-HIVE-Build/17497/console
Test logs: http://104.198.109.242/logs/PreCommit-HIVE-Build-17497/
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'
2019-06-09 10:04:32.452
+ [[ -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-17497/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'
2019-06-09 10:04:32.456
+ cd apache-github-source-source
+ git fetch origin
+ git reset --hard HEAD
HEAD is now at 07b4b84 HIVE-21742 : Vectorization: CASE result type casting
(Vineet Garg via Gopal V)
+ git clean -f -d
Removing standalone-metastore/metastore-server/src/gen/
+ git checkout master
Already on 'master'
Your branch is up-to-date with 'origin/master'.
+ git reset --hard origin/master
HEAD is now at 07b4b84 HIVE-21742 : Vectorization: CASE result type casting
(Vineet Garg via Gopal V)
+ git merge --ff-only origin/master
Already up-to-date.
+ date '+%Y-%m-%d %T.%3N'
2019-06-09 10:04:33.629
+ rm -rf ../yetus_PreCommit-HIVE-Build-17497
+ mkdir ../yetus_PreCommit-HIVE-Build-17497
+ git gc
+ cp -R . ../yetus_PreCommit-HIVE-Build-17497
+ mkdir /data/hiveptest/logs/PreCommit-HIVE-Build-17497/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
error:
a/standalone-metastore/metastore-server/src/main/java/org/apache/hadoop/hive/metastore/MetastoreDefaultTransformer.java:
does not exist in index
Going to apply patch with: git apply -p1
+ [[ 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
[ERROR] Failed to execute goal
org.apache.maven.plugins:maven-clean-plugin:2.5:clean (default-clean) on
project hive: Execution default-clean of goal
org.apache.maven.plugins:maven-clean-plugin:2.5:clean failed: Unable to load
the mojo 'clean' (or one of its required components) from the plugin
'org.apache.maven.plugins:maven-clean-plugin:2.5':
java.util.NoSuchElementException
[ERROR] role: org.apache.maven.plugin.Mojo
[ERROR] roleHint: org.apache.maven.plugins:maven-clean-plugin:2.5:clean
[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/PluginContainerException
[ERROR]
[ERROR] After correcting the problems, you can resume the build with the command
[ERROR] mvn <goals> -rf :hive
+ result=1
+ '[' 1 -ne 0 ']'
+ rm -rf yetus_PreCommit-HIVE-Build-17497
+ exit 1
'
{noformat}
This message is automatically generated.
ATTACHMENT ID: 12971263 - PreCommit-HIVE-Build
> Testcases are randomly failing with ArrayIndexOutOfBoundException
> -----------------------------------------------------------------
>
> Key: HIVE-21852
> URL: https://issues.apache.org/jira/browse/HIVE-21852
> Project: Hive
> Issue Type: Bug
> Affects Versions: 4.0.0
> Reporter: Naresh P R
> Assignee: Naresh P R
> Priority: Major
> Attachments: HIVE-21852.1.patch
>
>
> Testcases are randomly failing with ArrayIndexOutOfBoundException in this
> lines
> [https://github.com/apache/hive/blob/master/standalone-metastore/metastore-server/src/main/java/org/apache/hadoop/hive/metastore/MetastoreDefaultTransformer.java#L75-L83]
> {code:java}
> Caused by: java.lang.ArrayIndexOutOfBoundsException
> at java.lang.System.arraycopy(Native Method) ~[?:1.8.0_102]
> at java.util.ArrayList.addAll(ArrayList.java:580) ~[?:1.8.0_102]
> at
> org.apache.hadoop.hive.metastore.MetastoreDefaultTransformer.<init>(MetastoreDefaultTransformer.java:75)
> ~[hive-exec-4.0.0-SNAPSHOT.jar:4.0.0-SNAPSHOT]{code}
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)