hive-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Rajesh Balamohan (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (HIVE-15240) Updating/Altering stats in metastore can be expensive in S3
Date Tue, 22 Nov 2016 03:29:58 GMT

     [ https://issues.apache.org/jira/browse/HIVE-15240?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Rajesh Balamohan updated HIVE-15240:
------------------------------------
    Attachment: HIVE-15240.2.patch

Thanks [~sershe]. 

Attaching .2 patch.

> 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, HIVE-15240.2.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)

Mime
View raw message