GitHub user JoshRosen opened a pull request:
https://github.com/apache/spark/pull/15698
[SPARK-18182] Expose ReplayListenerBus.read() overload which takes string
iterator
The `ReplayListenerBus.read()` method is used when implementing a custom
`ApplicationHistoryProvider`. The current interface only exposes a `read()`
method which takes an `InputStream` and performs stream-to-lines conversion
itself, but it would also be useful to expose an overloaded method which
accepts an iterator of strings, thereby enabling events to be provided from
non-`InputStream` sources.
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/JoshRosen/spark replay-listener-bus-interface
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/spark/pull/15698.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 #15698
----
commit b777ee5bb25f38086bfe2126be26de8f1e14a14d
Author: Josh Rosen <[email protected]>
Date: 2016-10-31T19:39:43Z
Expose ReplayListenerBus.read() overload which accepts an iterator of lines.
----
---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]