spark-instrumented-optimizer/core/src/main
Josh Rosen b8ebebeaaa [SPARK-5414] Add SparkFirehoseListener class for consuming all SparkListener events
There isn't a good way to write a SparkListener that receives all SparkListener events and which will be future-compatible (e.g. it will receive events introduced in newer versions of Spark without having to override new methods to process those events).

To address this, this patch adds `SparkFirehoseListener`, a SparkListener implementation that receives all events and dispatches them to a single `onEvent` method (which can be overridden by users).

Author: Josh Rosen <joshrosen@databricks.com>

Closes #4210 from JoshRosen/firehose-listener and squashes the following commits:

223f579 [Josh Rosen] Expand comment to explain rationale for this being a Java class.
ecdfaed [Josh Rosen] Add SparkFirehoseListener class for consuming all SparkListener events.
2015-02-02 23:35:07 -08:00
..
java/org/apache/spark [SPARK-5414] Add SparkFirehoseListener class for consuming all SparkListener events 2015-02-02 23:35:07 -08:00
resources/org/apache/spark SPARK-5393. Flood of util.RackResolver log messages after SPARK-1714 2015-01-30 11:31:54 -06:00
scala/org/apache/spark [SPARK-3778] newAPIHadoopRDD doesn't properly pass credentials for secure hdfs 2015-02-02 22:45:55 -08:00