Skip to content
Closed
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Add a warning
  • Loading branch information
zsxwing committed Oct 27, 2016
commit 3aedd53b396cc9ff35d9de971b749555f9cda1ba
Original file line number Diff line number Diff line change
Expand Up @@ -78,6 +78,7 @@ private[spark] class ReplayListenerBus extends SparkListenerBus with Logging {
=>
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

nit: formatting is weird.
wont it be easier if you defined a set with these class names, and then use "contains"?

// Ignore events generated by Structured Streaming in Spark 2.0.0 and 2.0.1.
// It's safe since no place uses them.
logWarning(s"Dropped incompatible Structured Streaming log: $currentLine")
case jpe: JsonParseException =>
// We can only ignore exception from last line of the file that might be truncated
// the last entry may not be the very last line in the event log, but we treat it
Expand Down