GitHub user viirya opened a pull request:
https://github.com/apache/spark/pull/21098
[SPARK-24014][PySpark] Add onStreamingStarted method to StreamingListener
## What changes were proposed in this pull request?
The `StreamingListener` in PySpark side seems to be lack of
`onStreamingStarted` method. This patch adds it and a test for it.
This patch also includes a trivial doc improvement for `createDirectStream`.
Original PR is #21057.
## How was this patch tested?
Added test.
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/viirya/spark-1 SPARK-24014
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/spark/pull/21098.patch
To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:
This closes #21098
----
commit 68adfc67e7d8df16c641ec59d5cc31f179dba497
Author: Liang-Chi Hsieh <viirya@...>
Date: 2018-04-18T13:59:22Z
Add onStreamingStarted method to StreamingListener.
----
---
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]