User16763506586
Databricks Employee
Databricks Employee

@Krishna Kashiv​ 

May be ExecutorPlugin.java can help. It has all the methods you might required. Let me know if it works or not.

You need to implement this interface org.apache.spark.api.plugin.SparkPlugin

and expose it as spark.plugins = com.abc.ImplementationClass

View solution in original post