@DeveloperApi
public interface SparkPlugin
Plugins can be loaded by adding the plugin's class name to the appropriate Spark configuration. Check the Spark monitoring guide for details.
Plugins have two optional components: a driver-side component, of which a single instance is
created per application, inside the Spark driver. And an executor-side component, of which one
instance is created in each executor that is started by Spark. Details of each component can be
found in the documentation for DriverPlugin
and ExecutorPlugin
.
Modifier and Type | Method and Description |
---|---|
DriverPlugin |
driverPlugin()
Return the plugin's driver-side component.
|
ExecutorPlugin |
executorPlugin()
Return the plugin's executor-side component.
|
DriverPlugin driverPlugin()
ExecutorPlugin executorPlugin()