Rajesh Balamohan created HIVE-15240:
---------------------------------------

             Summary: 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
            Priority: Minor


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