{"action":"created","issue":{"url":"https://api.github.com/repos/apache/spark/issues/2765","labels_url":"https://api.github.com/repos/apache/spark/issues/2765/labels{/name}","comments_url":"https://api.github.com/repos/apache/spark/issues/2765/comments","events_url":"https://api.github.com/repos/apache/spark/issues/2765/events","html_url":"https://github.com/apache/spark/pull/2765","id":45546205,"number":2765,"title":"[SPARK-3586][streaming]Support nested directories in Spark Streaming","user":{"login":"wangxiaojing","id":7835573,"avatar_url":"https://avatars.githubusercontent.com/u/7835573?v=3","gravatar_id":"","url":"https://api.github.com/users/wangxiaojing","html_url":"https://github.com/wangxiaojing","followers_url":"https://api.github.com/users/wangxiaojing/followers","following_url":"https://api.github.com/users/wangxiaojing/following{/other_user}","gists_url":"https://api.github.com/users/wangxiaojing/gists{/gist_id}","starred_url":"https://api.github.com/users/wangxiaojing/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/wangxiaojing/subscriptions","organizations_url":"https://api.github.com/users/wangxiaojing/orgs","repos_url":"https://api.github.com/users/wangxiaojing/repos","events_url":"https://api.github.com/users/wangxiaojing/events{/privacy}","received_events_url":"https://api.github.com/users/wangxiaojing/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":60,"created_at":"2014-10-11T08:57:59Z","updated_at":"2015-02-28T07:07:21Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/apache/spark/pulls/2765","html_url":"https://github.com/apache/spark/pull/2765","diff_url":"https://github.com/apache/spark/pull/2765.diff","patch_url":"https://github.com/apache/spark/pull/2765.patch"},"body":"For text files, the method streamingContext.textFileStream(dataDirectory). \r\nThe improvement of the streaming to Support subdirectories,spark streaming can  monitor the subdirectories dataDirectory and process any files created in that directory.\r\neg:\r\nstreamingContext.textFileStream(/test). \r\nLook at the direction contents:\r\n/test/file1\r\n/test/file2\r\n/test/dr/file1\r\nif the directory \"/test/dr/\" have new file \"file2\" ,spark streaming can process  the file\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/apache/spark/issues/comments/76514746","html_url":"https://github.com/apache/spark/pull/2765#issuecomment-76514746","issue_url":"https://api.github.com/repos/apache/spark/issues/2765","id":76514746,"user":{"login":"SparkQA","id":8108735,"avatar_url":"https://avatars.githubusercontent.com/u/8108735?v=3","gravatar_id":"","url":"https://api.github.com/users/SparkQA","html_url":"https://github.com/SparkQA","followers_url":"https://api.github.com/users/SparkQA/followers","following_url":"https://api.github.com/users/SparkQA/following{/other_user}","gists_url":"https://api.github.com/users/SparkQA/gists{/gist_id}","starred_url":"https://api.github.com/users/SparkQA/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/SparkQA/subscriptions","organizations_url":"https://api.github.com/users/SparkQA/orgs","repos_url":"https://api.github.com/users/SparkQA/repos","events_url":"https://api.github.com/users/SparkQA/events{/privacy}","received_events_url":"https://api.github.com/users/SparkQA/received_events","type":"User","site_admin":false},"created_at":"2015-02-28T07:07:21Z","updated_at":"2015-02-28T07:07:21Z","body":"  [Test build #28114 has finished](https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder/28114/consoleFull) for   PR 2765 at commit [`348657e`](https://github.com/apache/spark/commit/348657e2069c3732d2a43bbc6ddb873eec7a3a48).\n * This patch **fails PySpark unit tests**.\n * This patch merges cleanly.\n * This patch adds no public classes."}}