[ https://issues.apache.org/jira/browse/HIVE-21223?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16764798#comment-16764798 ]
Hive QA commented on HIVE-21223: -------------------------------- Here are the results of testing the latest attachment: https://issues.apache.org/jira/secure/attachment/12958218/HIVE-21223.1.patch {color:red}ERROR:{color} -1 due to build exiting with an error Test results: https://builds.apache.org/job/PreCommit-HIVE-Build/16009/testReport Console output: https://builds.apache.org/job/PreCommit-HIVE-Build/16009/console Test logs: http://104.198.109.242/logs/PreCommit-HIVE-Build-16009/ 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-02-11 09:35:12.766 + [[ -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-16009/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-02-11 09:35:12.769 + cd apache-github-source-source + git fetch origin + git reset --hard HEAD HEAD is now at 4ddc9de HIVE-21233: ACID: Make validate_acid_sort_order() Stateful UDF (Gopal V, reviewed by Vaibhav Gumashta) + git clean -f -d Removing ${project.basedir}/ Removing itests/${project.basedir}/ 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 4ddc9de HIVE-21233: ACID: Make validate_acid_sort_order() Stateful UDF (Gopal V, reviewed by Vaibhav Gumashta) + git merge --ff-only origin/master Already up-to-date. + date '+%Y-%m-%d %T.%3N' 2019-02-11 09:35:13.489 + rm -rf ../yetus_PreCommit-HIVE-Build-16009 + mkdir ../yetus_PreCommit-HIVE-Build-16009 + git gc + cp -R . ../yetus_PreCommit-HIVE-Build-16009 + mkdir /data/hiveptest/logs/PreCommit-HIVE-Build-16009/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/src/main/java/org/apache/hadoop/hive/metastore/cache/CachedStore.java: does not exist in index error: standalone-metastore/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/CachedStore.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-16009 + exit 1 ' {noformat} This message is automatically generated. ATTACHMENT ID: 12958218 - PreCommit-HIVE-Build > CachedStore returns null partition when partition does not exist > ---------------------------------------------------------------- > > Key: HIVE-21223 > URL: https://issues.apache.org/jira/browse/HIVE-21223 > Project: Hive > Issue Type: Bug > Components: Metastore > Affects Versions: 4.0.0, 3.2.0 > Reporter: Prasanth Jayachandran > Assignee: Prasanth Jayachandran > Priority: Major > Attachments: HIVE-21223.1.patch > > > CachedStore can return null partition for getPartitionWithAuth() when > partition does not exist. null value serialization in thrift will break the > connection. Instead if partition does not exist it should throw > NoSuchObjectException. > Clients will see this exception > {code:java} > org.apache.thrift.TApplicationException: get_partition_with_auth failed: > unknown result > at > org.apache.hadoop.hive.metastore.api.ThriftHiveMetastore$Client.recv_get_partition_with_auth(ThriftHiveMetastore.java:3017) > ~[hive-exec-3.1.0.3.0.100.0-266.jar:3.1.0.3.0.100.0-266] > at > org.apache.hadoop.hive.metastore.api.ThriftHiveMetastore$Client.get_partition_with_auth(ThriftHiveMetastore.java:2990) > ~[hive-exec-3.1.0.3.0.100.0-266.jar:3.1.0.3.0.100.0-266] > at > org.apache.hadoop.hive.metastore.HiveMetaStoreClient.getPartitionWithAuthInfo(HiveMetaStoreClient.java:1679) > ~[hive-exec-3.1.0.3.0.100.0-266.jar:3.1.0.3.0.100.0-266] > at > org.apache.hadoop.hive.metastore.HiveMetaStoreClient.getPartitionWithAuthInfo(HiveMetaStoreClient.java:1671) > ~[hive-exec-3.1.0.3.0.100.0-266.jar:3.1.0.3.0.100.0-266] > at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.8.0_181] > at > sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) > ~[?:1.8.0_181] > at > sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) > ~[?:1.8.0_181] > at java.lang.reflect.Method.invoke(Method.java:498) ~[?:1.8.0_181] > at > org.apache.hadoop.hive.metastore.RetryingMetaStoreClient.invoke(RetryingMetaStoreClient.java:212) > ~[hive-exec-3.1.0.3.0.100.0-266.jar:3.1.0.3.0.100.0-266] > at com.sun.proxy.$Proxy36.getPartitionWithAuthInfo(Unknown Source) ~[?:?] > at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.8.0_181] > at > sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) > ~[?:1.8.0_181] > at > sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) > ~[?:1.8.0_181] > at java.lang.reflect.Method.invoke(Method.java:498) ~[?:1.8.0_181] > at > org.apache.hadoop.hive.metastore.HiveMetaStoreClient$SynchronizedHandler.invoke(HiveMetaStoreClient.java:2976) > ~[hive-exec-3.1.0.3.0.100.0-266.jar:3.1.0.3.0.100.0-266] > at com.sun.proxy.$Proxy36.getPartitionWithAuthInfo(Unknown Source) ~[?:?] > at > org.apache.hadoop.hive.metastore.SynchronizedMetaStoreClient.getPartitionWithAuthInfo(SynchronizedMetaStoreClient.java:101) > ~[hive-exec-3.1.0.3.0.100.0-266.jar:3.1.0.3.0.100.0-266] > at org.apache.hadoop.hive.ql.metadata.Hive.getPartition(Hive.java:2870) > ~[hive-exec-3.1.0.3.0.100.0-266.jar:3.1.0.3.0.100.0-266] > at org.apache.hadoop.hive.ql.metadata.Hive.getPartition(Hive.java:2835) > ~[hive-exec-3.1.0.3.0.100.0-266.jar:3.1.0.3.0.100.0-266] > at org.apache.hadoop.hive.ql.metadata.Hive.loadPartition(Hive.java:1950) > ~[hive-exec-3.1.0.3.0.100.0-266.jar:3.1.0.3.0.100.0-266] > at org.apache.hadoop.hive.ql.metadata.Hive$4.call(Hive.java:2490) > ~[hive-exec-3.1.0.3.0.100.0-266.jar:3.1.0.3.0.100.0-266] > at org.apache.hadoop.hive.ql.metadata.Hive$4.call(Hive.java:2481) > ~[hive-exec-3.1.0.3.0.100.0-266.jar:3.1.0.3.0.100.0-266] > at java.util.concurrent.FutureTask.run(FutureTask.java:266) ~[?:1.8.0_181] > at > java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149) > ~[?:1.8.0_181] > at > java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624) > ~[?:1.8.0_181] > at java.lang.Thread.run(Thread.java:748) [?:1.8.0_181]{code} > -- This message was sent by Atlassian JIRA (v7.6.3#76005)