GitHub user zsxwing opened a pull request:
https://github.com/apache/spark/pull/15663
[SPARK-18143][SQL]Ignore Structured Streaming event logs to avoid breaking
history server
## What changes were proposed in this pull request?
Because of the refactoring work in Structured Streaming, the event logs
generated by Strucutred Streaming in Spark 2.0.0 and 2.0.1 cannot be parsed.
This PR just ignores these logs in ReplayListenerBus because no places use
them.
## How was this patch tested?
- Generated events logs using Spark 2.0.0 and 2.0.1, and saved them as
`structured-streaming-query-event-logs-2.0.0.txt` and
`structured-streaming-query-event-logs-2.0.1.txt`
- The new added test makes sure ReplayListenerBus will skip these bad jsons.
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/zsxwing/spark fix-event-log
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/spark/pull/15663.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 #15663
----
commit 5feb1bd38ad91bd1d79d5147dd0deb61ca5dcce1
Author: Shixiong Zhu <[email protected]>
Date: 2016-10-27T19:45:05Z
Ignore Structured Streaming event logs to avoid breaking history server
----
---
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]