You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@hive.apache.org by "Rajesh Balamohan (Jira)" <ji...@apache.org> on 2019/10/22 03:25:00 UTC

[jira] [Created] (HIVE-22383) `alterPartitions` is invoked twice during dynamic partition load causing runtime delay

Rajesh Balamohan created HIVE-22383:
---------------------------------------

             Summary: `alterPartitions` is invoked twice during dynamic partition load causing runtime delay
                 Key: HIVE-22383
                 URL: https://issues.apache.org/jira/browse/HIVE-22383
             Project: Hive
          Issue Type: Bug
            Reporter: Rajesh Balamohan


First invocation in {{Hive::loadDynamicPartitions}}

https://github.com/apache/hive/blob/master/ql/src/java/org/apache/hadoop/hive/ql/metadata/Hive.java#L2978
https://github.com/apache/hive/blob/master/ql/src/java/org/apache/hadoop/hive/ql/metadata/Hive.java#L2638

Second invocation in {{BasicStatsTask::aggregateStats}}

https://github.com/apache/hive/blob/master/ql/src/java/org/apache/hadoop/hive/ql/stats/BasicStatsTask.java#L335

This leads to good amount of delay in dynamic partition loading.

 



--
This message was sent by Atlassian Jira
(v8.3.4#803005)