You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Hyukjin Kwon (JIRA)" <ji...@apache.org> on 2016/06/25 10:05:37 UTC

[jira] [Comment Edited] (SPARK-16188) Spark sql create a lot of small files

    [ https://issues.apache.org/jira/browse/SPARK-16188?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15349581#comment-15349581 ] 

Hyukjin Kwon edited comment on SPARK-16188 at 6/25/16 10:04 AM:
----------------------------------------------------------------

Is this a duplicate of SPARK-10216 maybe?


was (Author: hyukjin.kwon):
Is this a duplicated of SPARK-10216 maybe?

> Spark sql create a lot of small files
> -------------------------------------
>
>                 Key: SPARK-16188
>                 URL: https://issues.apache.org/jira/browse/SPARK-16188
>             Project: Spark
>          Issue Type: Improvement
>          Components: SQL
>    Affects Versions: 1.6.0
>         Environment: spark 1.6.1
>            Reporter: cen yuhai
>
> I find that spark sql will create files as many as partition size. When the results are small, there will be too many small files and most of them are empty. 
> Hive have a function to detect the avg of file size. If  avg file size is smaller than "hive.merge.smallfiles.avgsize", hive will add a job to merge files.



--
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