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

Sergey Shelukhin commented on HIVE-15240:
-----------------------------------------

It seems like some stats tests have failed...  makes sense otherwise.

> Updating/Altering stats in metastore can be expensive in S3
> -----------------------------------------------------------
>
>                 Key: HIVE-15240
>                 URL: https://issues.apache.org/jira/browse/HIVE-15240
>             Project: Hive
>          Issue Type: Improvement
>          Components: Metastore
>            Reporter: Rajesh Balamohan
>            Assignee: Rajesh Balamohan
>            Priority: Minor
>         Attachments: HIVE-15240.1.patch
>
>
> https://github.com/apache/hive/blob/master/metastore/src/java/org/apache/hadoop/hive/metastore/HiveAlterHandler.java#L630
> https://github.com/apache/hive/blob/master/metastore/src/java/org/apache/hadoop/hive/metastore/MetaStoreUtils.java#L367
> If there are 100 partitions, it iterates every partition to determine its 
> location taking up more than good amount of time.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to