You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Apache Spark (JIRA)" <ji...@apache.org> on 2015/04/27 20:25:43 UTC

[jira] [Assigned] (SPARK-3586) Support nested directories in Spark Streaming

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

Apache Spark reassigned SPARK-3586:
-----------------------------------

    Assignee: Apache Spark

> Support nested directories in Spark Streaming
> ---------------------------------------------
>
>                 Key: SPARK-3586
>                 URL: https://issues.apache.org/jira/browse/SPARK-3586
>             Project: Spark
>          Issue Type: Improvement
>          Components: Streaming
>    Affects Versions: 1.1.0
>            Reporter: XiaoJing wang
>            Assignee: Apache Spark
>            Priority: Minor
>              Labels: patch
>
> For  text files, the method streamingContext.textFileStream(dataDirectory). 
> Spark Streaming will monitor the directory dataDirectory and process any files created in that directory.but files written in nested directories not supported
> eg
> streamingContext.textFileStream(/test). 
> Look at the direction contents:
> /test/file1
> /test/file2
> /test/dr/file1
> In this mothod the "textFileStream" can only read file:
> /test/file1
> /test/file2
> /test/dr/
> but the file: /test/dr/file1  is not.



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