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 2018/06/29 13:48:00 UTC

[jira] [Commented] (HIVE-14696) Hive Query Fail with MetaException(message:org.datanucleus.exceptions.NucleusDataStoreException: Size request failed

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

Hive QA commented on HIVE-14696:
--------------------------------



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

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

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

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-29 13:46:58.089
+ [[ -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-12245/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-29 13:46:58.093
+ cd apache-github-source-source
+ git fetch origin
From https://github.com/apache/hive
   26c5749e..ba54eb5 branch-3   -> origin/branch-3
+ git reset --hard HEAD
HEAD is now at 2b0cb07 HIVE-20011: Move away from append mode in proto logging hook (Harish JP, reviewd by Anishek Agarwal)
+ 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 2b0cb07 HIVE-20011: Move away from append mode in proto logging hook (Harish JP, reviewd by Anishek Agarwal)
+ git merge --ff-only origin/master
Already up-to-date.
+ date '+%Y-%m-%d %T.%3N'
2018-06-29 13:46:59.447
+ rm -rf ../yetus_PreCommit-HIVE-Build-12245
+ mkdir ../yetus_PreCommit-HIVE-Build-12245
+ git gc
+ cp -R . ../yetus_PreCommit-HIVE-Build-12245
+ mkdir /data/hiveptest/logs/PreCommit-HIVE-Build-12245/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/metastore/src/java/org/apache/hadoop/hive/metastore/RetryingMetaStoreClient.java: does not exist in index
error: metastore/src/java/org/apache/hadoop/hive/metastore/RetryingMetaStoreClient.java: does not exist in index
error: src/java/org/apache/hadoop/hive/metastore/RetryingMetaStoreClient.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-12245
+ exit 1
'
{noformat}

This message is automatically generated.

ATTACHMENT ID: 12826858 - PreCommit-HIVE-Build

>  Hive Query Fail with MetaException(message:org.datanucleus.exceptions.NucleusDataStoreException: Size request failed
> ---------------------------------------------------------------------------------------------------------------------
>
>                 Key: HIVE-14696
>                 URL: https://issues.apache.org/jira/browse/HIVE-14696
>             Project: Hive
>          Issue Type: Bug
>          Components: Metastore
>            Reporter: Oleksiy Sayankin
>            Assignee: Oleksiy Sayankin
>            Priority: Major
>             Fix For: 3.2.0
>
>         Attachments: HIVE-14696.1.patch
>
>
> We have a customer who is on Hive 0.13 and the queries seem to be failing with exception:
> {code}
> 2016-08-30 00:22:58,965 ERROR [main]: metadata.Hive
> (Hive.java:getPartition(1619)) -
> MetaException(message:org.datanucleus.exceptions.NucleusDataStoreException:
> Size request failed : SELECT COUNT(*) FROM `SORT_COLS` THIS WHERE
> THIS.`SD_ID`=? AND THIS.`INTEGER_IDX`>=0)
>     at
> org.apache.hadoop.hive.metastore.api.ThriftHiveMetastore$get_partition_with_auth_result$get_partition_with_auth_resultStandardScheme.read(ThriftHiveMetastore.java:54171)
>     at
> org.apache.hadoop.hive.metastore.api.ThriftHiveMetastore$get_partition_with_auth_result$get_partition_with_auth_resultStandardScheme.read(ThriftHiveMetastore.java:54148)
>     at
> org.apache.hadoop.hive.metastore.api.ThriftHiveMetastore$get_partition_with_auth_result.read(ThriftHiveMetastore.java:54079)
>     at org.apache.thrift.TServiceClient.receiveBase(TServiceClient.java:78)
>     at
> org.apache.hadoop.hive.metastore.api.ThriftHiveMetastore$Client.recv_get_partition_with_auth(ThriftHiveMetastore.java:1689)
>     at
> org.apache.hadoop.hive.metastore.api.ThriftHiveMetastore$Client.get_partition_with_auth(ThriftHiveMetastore.java:1672)
>     at
> org.apache.hadoop.hive.metastore.HiveMetaStoreClient.getPartitionWithAuthInfo(HiveMetaStoreClient.java:1003)
>     at sun.reflect.GeneratedMethodAccessor9.invoke(Unknown Source)
>     at
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
>     at java.lang.reflect.Method.invoke(Method.java:606)
>     at
> org.apache.hadoop.hive.metastore.RetryingMetaStoreClient.invoke(RetryingMetaStoreClient.java:89)
>     at com.sun.proxy.$Proxy9.getPartitionWithAuthInfo(Unknown Source)
>     at org.apache.hadoop.hive.ql.metadata.Hive.getPartition(Hive.java:1611)
>     at org.apache.hadoop.hive.ql.metadata.Hive.getPartition(Hive.java:1565)
>     at org.apache.hadoop.hive.ql.exec.MoveTask.execute(MoveTask.java:370)
>     at org.apache.hadoop.hive.ql.exec.Task.executeTask(Task.java:153)
>     at
> org.apache.hadoop.hive.ql.exec.TaskRunner.runSequential(TaskRunner.java:85)
>     at org.apache.hadoop.hive.ql.Driver.launchTask(Driver.java:1508)
>     at org.apache.hadoop.hive.ql.Driver.execute(Driver.java:1275)
>     at org.apache.hadoop.hive.ql.Driver.runInternal(Driver.java:1093)
>     at org.apache.hadoop.hive.ql.Driver.run(Driver.java:916)
>     at org.apache.hadoop.hive.ql.Driver.run(Driver.java:906)
>     at org.apache.hadoop.hive.cli.CliDriver.processLocalCmd(CliDriver.java:268)
>     at org.apache.hadoop.hive.cli.CliDriver.processCmd(CliDriver.java:220)
>     at org.apache.hadoop.hive.cli.CliDriver.processLine(CliDriver.java:423)
>     at org.apache.hadoop.hive.cli.CliDriver.processLine(CliDriver.java:359)
>     at org.apache.hadoop.hive.cli.CliDriver.processReader(CliDriver.java:456)
>     at org.apache.hadoop.hive.cli.CliDriver.processFile(CliDriver.java:466)
>     at org.apache.hadoop.hive.cli.CliDriver.executeDriver(CliDriver.java:748)
>     at org.apache.hadoop.hive.cli.CliDriver.run(CliDriver.java:686)
>     at org.apache.hadoop.hive.cli.CliDriver.main(CliDriver.java:625)
>     at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>     at
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
>     at
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
>     at java.lang.reflect.Method.invoke(Method.java:606)
>     at org.apache.hadoop.util.RunJar.main(RunJar.java:212)
> {code}
> It is similar JIRA for Hive 0.13: https://issues.apache.org/jira/browse/HIVE-8766
> I suppose it's the similar issues because of both issues related to hive metastore performance, can occur when metastore is overloaded and can throw different exceptions



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