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/04/08 06:11:00 UTC

[jira] [Commented] (HIVE-22384) Hive MetaStore CachedStore Funcion Cache Dev

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

Hive QA commented on HIVE-22384:
--------------------------------



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

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

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

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-04-08 06:09:34.120
+ [[ -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-21505/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-04-08 06:09:34.123
+ cd apache-github-source-source
+ git fetch origin
+ git reset --hard HEAD
HEAD is now at 189580e HIVE-23111: MsckPartitionExpressionProxy should filter partitions(Sam An reviewed by Prasanth Jayachandran)
+ 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 189580e HIVE-23111: MsckPartitionExpressionProxy should filter partitions(Sam An reviewed by Prasanth Jayachandran)
+ git merge --ff-only origin/master
Already up-to-date.
+ date '+%Y-%m-%d %T.%3N'
2020-04-08 06:09:35.502
+ rm -rf ../yetus_PreCommit-HIVE-Build-21505
+ mkdir ../yetus_PreCommit-HIVE-Build-21505
+ git gc
+ cp -R . ../yetus_PreCommit-HIVE-Build-21505
+ mkdir /data/hiveptest/logs/PreCommit-HIVE-Build-21505/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: patch failed: standalone-metastore/metastore-server/src/main/java/org/apache/hadoop/hive/metastore/cache/CachedStore.java:35
error: repository lacks the necessary blob to fall back on 3-way merge.
error: standalone-metastore/metastore-server/src/main/java/org/apache/hadoop/hive/metastore/cache/CachedStore.java: patch does not apply
Trying to apply the patch with -p1
error: metastore-server/src/main/java/org/apache/hadoop/hive/metastore/cache/CachedStore.java: does not exist in index
error: metastore-server/src/main/java/org/apache/hadoop/hive/metastore/cache/CacheUtils.java: does not exist in index
error: metastore-server/src/main/java/org/apache/hadoop/hive/metastore/cache/SharedCache.java: does not exist in index
error: metastore-server/src/test/java/org/apache/hadoop/hive/metastore/cache/TestCachedStore.java: does not exist in index
error: src/java/org/apache/hadoop/hive/ql/util/IncrementalObjectSizeEstimator.java: does not exist in index
Trying to apply the patch with -p2
error: src/main/java/org/apache/hadoop/hive/metastore/cache/CachedStore.java: does not exist in index
error: src/main/java/org/apache/hadoop/hive/metastore/cache/CacheUtils.java: does not exist in index
error: src/main/java/org/apache/hadoop/hive/metastore/cache/SharedCache.java: does not exist in index
error: src/test/java/org/apache/hadoop/hive/metastore/cache/TestCachedStore.java: does not exist in index
error: java/org/apache/hadoop/hive/ql/util/IncrementalObjectSizeEstimator.java: does not exist in index
The patch does not appear to apply with p0, p1, or p2
+ result=1
+ '[' 1 -ne 0 ']'
+ rm -rf yetus_PreCommit-HIVE-Build-21505
+ exit 1
'
{noformat}

This message is automatically generated.

ATTACHMENT ID: 12984161 - PreCommit-HIVE-Build

> Hive MetaStore CachedStore Funcion Cache Dev
> --------------------------------------------
>
>                 Key: HIVE-22384
>                 URL: https://issues.apache.org/jira/browse/HIVE-22384
>             Project: Hive
>          Issue Type: Improvement
>          Components: Standalone Metastore
>    Affects Versions: 2.3.7, 3.1.3
>            Reporter: fanshilun
>            Assignee: fanshilun
>            Priority: Major
>              Labels: cachedstore
>             Fix For: 3.1.3
>
>         Attachments: HIVE-22384.1.patch, HIVE-22384.2.patch, HIVE-22384.3.patch, HIVE-22384.4.patch, HIVE-22384.5.patch, HIVE-22384.6.patch, HIVE-22384.7.patch, HIVE-22384.8.patch, HIVE-22384.9.patch
>
>
> CachedStore is a very good new feature to alleviate the pressure on the background database.
> The Function Cache is a function that the CachedStore feature has not been completed. 
> This patch completes the Function Cache.
> The functional points involved are as follows:
> 1) Function Cache prewarm
> 2) Function Cache Update
> 3) CreateFunction、AlterFunction、DropFunction、GetFunction .
> 4) NotificationEvents (CREATE_FUNCTION_EVENT、DROP_FUNCTION_EVENT)



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