[ https://issues.apache.org/jira/browse/HIVE-14696?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Vineet Garg updated HIVE-14696: ------------------------------- Fix Version/s: (was: 3.0.0) 3.1.0 Deferring this to 3.1.0 since the branch for 3.0.0 has been cut off. Please update the JIRA if you would like to get your patch in 3.0.0. > 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.1.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)