You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Sean Owen (JIRA)" <ji...@apache.org> on 2014/11/11 15:01:34 UTC
[jira] [Resolved] (SPARK-3228) When DStream save RDD to hdfs ,
don't create directory and empty file if there are no data received from
source in the batch duration .
[ https://issues.apache.org/jira/browse/SPARK-3228?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Sean Owen resolved SPARK-3228.
------------------------------
Resolution: Won't Fix
Given PR discussion, sounds like a WontFix
> When DStream save RDD to hdfs , don't create directory and empty file if there are no data received from source in the batch duration .
> ---------------------------------------------------------------------------------------------------------------------------------------
>
> Key: SPARK-3228
> URL: https://issues.apache.org/jira/browse/SPARK-3228
> Project: Spark
> Issue Type: Improvement
> Components: Streaming
> Reporter: Leo
>
> When I use DStream to save files to hdfs, it will create a directory and a empty file named "_SUCCESS" for each job which made in the batch duration.
> But if there are no data from source for a long time , and the duration is very short(e.g. 10s), it will create so many directory and empty files in hdfs.
> I don't think it is necessary. So I want to modify class DStream's method saveAsObjectFiles and saveAsTextFiles , it creates directory and files just when the RDD's partitions size > 0 .
--
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