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

Sergey Shelukhin commented on HIVE-20765:
-----------------------------------------

Failure is related, but weird... {noformat}
2018-10-19T15:52:41,324 ERROR [main] metastore.RetryingHMSHandler: 
java.lang.NoSuchMethodError: javax.jdo.Query.close()V
        at 
org.apache.hadoop.hive.metastore.PartitionProjectionEvaluator.setSingleValuedFields(PartitionProjectionEvaluator.java:456)
        at 
org.apache.hadoop.hive.metastore.PartitionProjectionEvaluator.getPartitionsUsingProjectionList(PartitionProjectionEvaluator.java:358)
        at 
org.apache.hadoop.hive.metastore.MetaStoreDirectSql$3.run(MetaStoreDirectSql.java:635)
        at 
org.apache.hadoop.hive.metastore.Batchable.runBatched(Batchable.java:73)
        at 
org.apache.hadoop.hive.metastore.MetaStoreDirectSql.getPartitionsUsingProjectionAndFilterSpec(MetaStoreDirectSql.java:632)
        at 
org.apache.hadoop.hive.metastore.ObjectStore$13.getSqlResult(ObjectStore.java:4115)
        at 
org.apache.hadoop.hive.metastore.ObjectStore$13.getSqlResult(ObjectStore.java:4080)
        at 
org.apache.hadoop.hive.metastore.ObjectStore$GetHelper.run(ObjectStore.java:3759)
        at 
org.apache.hadoop.hive.metastore.ObjectStore.getPartitionSpecsByFilterAndProjection(ObjectStore.java:4165)
        at 
org.apache.hadoop.hive.metastore.ObjectStore.get_aggr_stats_for(ObjectStore.java:9066)
{noformat}
[~vihangk1] have you ever seen this trying to use the new API? 

I will look into this a little bit and might just switch to fetching partitions 
by names the old way for expediency.

> fetch partitions for txn stats validation in get_aggr_stats with one call
> -------------------------------------------------------------------------
>
>                 Key: HIVE-20765
>                 URL: https://issues.apache.org/jira/browse/HIVE-20765
>             Project: Hive
>          Issue Type: Bug
>            Reporter: Sergey Shelukhin
>            Assignee: Sergey Shelukhin
>            Priority: Major
>         Attachments: HIVE-20765.01.patch, HIVE-20765.01.patch, 
> HIVE-20765.patch
>
>




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

Reply via email to