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-15250) Reuse partitions info generated in MoveTask to its subscribers (StatsTask)
Date Thu, 24 Nov 2016 00:08:58 GMT

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

Rajesh Balamohan updated HIVE-15250:
------------------------------------
    Attachment: HIVE-15250.3.patch

Thanks [~sershe]. Attaching .3 patch with comments addressed.

> Reuse partitions info generated in MoveTask to its subscribers (StatsTask)          
    
> -----------------------------------------------------------------------------------------
>
>                 Key: HIVE-15250
>                 URL: https://issues.apache.org/jira/browse/HIVE-15250
>             Project: Hive
>          Issue Type: Improvement
>          Components: Metastore
>            Reporter: Rajesh Balamohan
>            Assignee: Rajesh Balamohan
>            Priority: Minor
>         Attachments: HIVE-15250.1.patch, HIVE-15250.2.patch, HIVE-15250.3.patch
>
>
> When dynamic partitions are enabled, {{StatsTask}} loads partition information by querying
metastore. In cases like {{insert overwrite table}}, this can be expensive operation depending
on the number of partitions involved (for e.g, in tpcds populating web_returns table would
incur 2184 DB calls just on this function).
> It would be good to pass on the partition information generated in MoveTask to its subscribers
to reduce the number of DB calls.



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

Mime
View raw message