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 2019/05/21 04:16:19 UTC
[jira] [Resolved] (SPARK-19046) Dataset checkpoint consumes too
much disk space
[ https://issues.apache.org/jira/browse/SPARK-19046?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Hyukjin Kwon resolved SPARK-19046.
----------------------------------
Resolution: Incomplete
> Dataset checkpoint consumes too much disk space
> -----------------------------------------------
>
> Key: SPARK-19046
> URL: https://issues.apache.org/jira/browse/SPARK-19046
> Project: Spark
> Issue Type: Improvement
> Components: SQL
> Reporter: Assaf Mendelson
> Priority: Minor
> Labels: bulk-closed
>
> Consider the following simple example:
> val df = spark.range(100000000)
> df.cache()
> df.count()
> df.checkpoint()
> df.write.parquet("/test1")
> Looking at the storage tab of the UI, the dataframe takes 97.5 MB.
> Looking at the checkpoint directory, the checkpoint takes 3.3GB (33 times larger!)
> Looking at the parquet directory, the dataframe takes 386MB
> Similar behavior can be seen on less synthetic examples.
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)
---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@spark.apache.org
For additional commands, e-mail: issues-help@spark.apache.org