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 2016/09/03 08:53:21 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=15460725#comment-15460725 ] 

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 no test(s) being added or modified.

{color:red}ERROR:{color} -1 due to 7 failed/errored test(s), 10441 tests executed
*Failed tests:*
{noformat}
TestBeeLineWithArgs - did not produce a TEST-*.xml file
TestHiveCli - did not produce a TEST-*.xml file
org.apache.hadoop.hive.cli.TestCliDriver.org.apache.hadoop.hive.cli.TestCliDriver
org.apache.hadoop.hive.cli.TestCliDriver.testCliDriver[vector_join_part_col_char]
org.apache.hadoop.hive.cli.TestMiniLlapCliDriver.testCliDriver[acid_bucket_pruning]
org.apache.hadoop.hive.cli.TestMiniTezCliDriver.testCliDriver[explainuser_3]
org.apache.hive.hcatalog.hbase.TestPigHBaseStorageHandler.org.apache.hive.hcatalog.hbase.TestPigHBaseStorageHandler
{noformat}

Test results: https://builds.apache.org/job/PreCommit-HIVE-MASTER-Build/1090/testReport
Console output: https://builds.apache.org/job/PreCommit-HIVE-MASTER-Build/1090/console
Test logs: http://ec2-204-236-174-241.us-west-1.compute.amazonaws.com/logs/PreCommit-HIVE-MASTER-Build-1090/

Messages:
{noformat}
Executing org.apache.hive.ptest.execution.TestCheckPhase
Executing org.apache.hive.ptest.execution.PrepPhase
Executing org.apache.hive.ptest.execution.ExecutionPhase
Executing org.apache.hive.ptest.execution.ReportingPhase
Tests exited with: TestsFailedException: 7 tests failed
{noformat}

This message is automatically generated.

ATTACHMENT ID: 12826858 - PreCommit-HIVE-MASTER-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
>         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}
> A 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
(v6.3.4#6332)