You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hive.apache.org by "Hive QA (Jira)" <ji...@apache.org> on 2020/06/03 18:03:00 UTC

[jira] [Commented] (HIVE-21790) Bump Java to 1.8

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

Hive QA commented on HIVE-21790:
--------------------------------



Here are the results of testing the latest attachment:
https://issues.apache.org/jira/secure/attachment/12969644/0001-HIVE-21790-Update-to-Java-1.8.patch

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

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

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'
2020-06-03 18:01:39.195
+ [[ -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-22733/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'
2020-06-03 18:01:39.198
+ cd apache-github-source-source
+ git fetch origin
From https://github.com/apache/hive
   847673a..2795d32  master     -> origin/master
+ git reset --hard HEAD
HEAD is now at 847673a HIVE-22017: Keep HMS interfaces backward compatible with changes for HIVE-21637 (Kishen Das, reviewed by Vihang Karajgaonkar)
+ git clean -f -d
Removing standalone-metastore/metastore-server/src/gen/
+ git checkout master
Already on 'master'
Your branch is behind 'origin/master' by 2 commits, and can be fast-forwarded.
  (use "git pull" to update your local branch)
+ git reset --hard origin/master
HEAD is now at 2795d32 HIVE-23595: Do not query task guaranteed status when wlm off (Mustafa Iman via Gopal Vijayaraghavan)
+ git merge --ff-only origin/master
Already up-to-date.
+ date '+%Y-%m-%d %T.%3N'
2020-06-03 18:01:40.649
+ rm -rf ../yetus_PreCommit-HIVE-Build-22733
+ mkdir ../yetus_PreCommit-HIVE-Build-22733
+ git gc
+ cp -R . ../yetus_PreCommit-HIVE-Build-22733
+ mkdir /data/hiveptest/logs/PreCommit-HIVE-Build-22733/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
Trying to apply the patch with -p0
error: a/README.md: does not exist in index
error: a/pom.xml: does not exist in index
Trying to apply the patch with -p1
error: patch failed: README.md:75
Falling back to three-way merge...
Applied patch to 'README.md' with conflicts.
error: patch failed: pom.xml:804
Falling back to three-way merge...
Applied patch to 'pom.xml' with conflicts.
Going to apply patch with: git apply -p1
error: patch failed: README.md:75
Falling back to three-way merge...
Applied patch to 'README.md' with conflicts.
error: patch failed: pom.xml:804
Falling back to three-way merge...
Applied patch to 'pom.xml' with conflicts.
U README.md
U pom.xml
+ result=1
+ '[' 1 -ne 0 ']'
+ rm -rf yetus_PreCommit-HIVE-Build-22733
+ exit 1
'
{noformat}

This message is automatically generated.

ATTACHMENT ID: 12969644 - PreCommit-HIVE-Build

> Bump Java to 1.8
> ----------------
>
>                 Key: HIVE-21790
>                 URL: https://issues.apache.org/jira/browse/HIVE-21790
>             Project: Hive
>          Issue Type: Improvement
>    Affects Versions: 2.3.5
>            Reporter: Fokko Driesprong
>            Assignee: Fokko Driesprong
>            Priority: Major
>              Labels: pull-request-available
>         Attachments: 0001-HIVE-21790-Update-to-Java-1.8.patch
>
>          Time Spent: 40m
>  Remaining Estimate: 0h
>
> We're using Hive for reading Parquet files, but we would like to move from gzip to zstandard compression. Currently, the Parquet support of Hive is old because we can't upgrade since Parquet is Java 1.8+. Therefore it is a good idea to upgrade Hive as well.
> GA support of Java 1.7 is also almost over: https://www.oracle.com/technetwork/java/java-se-support-roadmap.html



--
This message was sent by Atlassian Jira
(v8.3.4#803005)