Skip to content


DriverPluginContainer is a PluginContainer.

Creating Instance

DriverPluginContainer takes the following to be created:

DriverPluginContainer is created when:

Registering Metrics

  appId: String): Unit

registerMetrics is part of the PluginContainer abstraction.

For every driver plugin, registerMetrics requests it to register metrics and the associated PluginContextImpl for the same.


Enable ALL logging level for org.apache.spark.internal.plugin.DriverPluginContainer logger to see what happens inside.

Add the following line to conf/

Refer to Logging.