@Internal public class SparkCommon extends java.lang.Object
Constructor and Description |
---|
SparkCommon() |
Modifier and Type | Method and Description |
---|---|
static @Nullable org.apache.spark.scheduler.EventLoggingListener |
startEventLoggingListener(org.apache.spark.api.java.JavaSparkContext jsc,
SparkPipelineOptions pipelineOptions,
long startTime)
Starts an EventLoggingListener to save Beam Metrics on Spark's History Server if event logging
is enabled.
|
public static @Nullable org.apache.spark.scheduler.EventLoggingListener startEventLoggingListener(org.apache.spark.api.java.JavaSparkContext jsc, SparkPipelineOptions pipelineOptions, long startTime)