You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Andrew Or (JIRA)" <ji...@apache.org> on 2015/09/02 02:01:32 UTC

[jira] [Updated] (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 ]

Andrew Or updated SPARK-3586:
-----------------------------
    Target Version/s: 1.6.0

> 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
>            Priority: Minor
>
> 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