[ https://issues.apache.org/jira/browse/HIVE-11224?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14621721#comment-14621721 ]
Pengcheng Xiong commented on HIVE-11224: ---------------------------------------- As per [~jpullokkaran]'s request, could [~thejas] and [~vgumashta] take a look? It is related to the HIVE-HIVE-10382, AggregateStatsCache work. Thanks. > AggregateStatsCache triggers java.util.ConcurrentModificationException under > some conditions > -------------------------------------------------------------------------------------------- > > Key: HIVE-11224 > URL: https://issues.apache.org/jira/browse/HIVE-11224 > Project: Hive > Issue Type: Bug > Reporter: Pengcheng Xiong > Assignee: Pengcheng Xiong > Attachments: HIVE-11224.01.patch > > > Stack > {code} > java.util.ConcurrentModificationException > at java.util.HashMap$HashIterator.nextEntry(HashMap.java:922) > at java.util.HashMap$EntryIterator.next(HashMap.java:962) > at java.util.HashMap$EntryIterator.next(HashMap.java:960) > at > org.apache.hadoop.hive.metastore.AggregateStatsCache.findBestMatch(AggregateStatsCache.java:244) > at > org.apache.hadoop.hive.metastore.AggregateStatsCache.get(AggregateStatsCache.java:186) > at > org.apache.hadoop.hive.metastore.MetaStoreDirectSql.aggrColStatsForPartitions(MetaStoreDirectSql.java:1131) > at > org.apache.hadoop.hive.metastore.ObjectStore$9.getSqlResult(ObjectStore.java:6174) > at > org.apache.hadoop.hive.metastore.ObjectStore$9.getSqlResult(ObjectStore.java:6170) > at > org.apache.hadoop.hive.metastore.ObjectStore$GetHelper.run(ObjectStore.java:2405) > at > org.apache.hadoop.hive.metastore.ObjectStore.get_aggr_stats_for(ObjectStore.java:6170) > at sun.reflect.GeneratedMethodAccessor103.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.RawStoreProxy.invoke(RawStoreProxy.java:114) > at com.sun.proxy.$Proxy6.get_aggr_stats_for(Unknown Source) > at > org.apache.hadoop.hive.metastore.HiveMetaStore$HMSHandler.get_aggr_stats_for(HiveMetaStore.java:5707) > at sun.reflect.GeneratedMethodAccessor102.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.RetryingHMSHandler.invoke(RetryingHMSHandler.java:107) > at com.sun.proxy.$Proxy8.get_aggr_stats_for(Unknown Source) > at > org.apache.hadoop.hive.metastore.HiveMetaStoreClient.getAggrColStatsFor(HiveMetaStoreClient.java:2067) > at sun.reflect.GeneratedMethodAccessor101.invoke(Unknown Source) > {code} -- This message was sent by Atlassian JIRA (v6.3.4#6332)