You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Davies Liu (JIRA)" <ji...@apache.org> on 2016/08/29 18:31:20 UTC
[jira] [Resolved] (SPARK-17063) MSCK REPAIR TABLE is super slow
with Hive metastore
[ https://issues.apache.org/jira/browse/SPARK-17063?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Davies Liu resolved SPARK-17063.
--------------------------------
Resolution: Fixed
Fix Version/s: 2.1.0
2.0.1
Issue resolved by pull request 14607
[https://github.com/apache/spark/pull/14607]
> MSCK REPAIR TABLE is super slow with Hive metastore
> ---------------------------------------------------
>
> Key: SPARK-17063
> URL: https://issues.apache.org/jira/browse/SPARK-17063
> Project: Spark
> Issue Type: Improvement
> Components: SQL
> Reporter: Davies Liu
> Assignee: Davies Liu
> Fix For: 2.0.1, 2.1.0
>
>
> When repair a table with thousands of partitions, it could take hundreds of seconds, Hive metastore can only add a few partitioins per seconds, because it will list all the files for each partition to gather the fast stats (number of files, total size of files).
> We could improve this by listing the files in Spark in parallel, than sending the fast stats to Hive metastore to avoid this sequential listing.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)
---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@spark.apache.org
For additional commands, e-mail: issues-help@spark.apache.org