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 2016/01/25 10:58:39 UTC

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

Sean Owen resolved SPARK-3586.
------------------------------
    Resolution: Won't Fix

> 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