Skip to content

SparkListenerResourceProfileAdded

SparkListenerResourceProfileAdded is a SparkListenerEvent.

SparkListenerResourceProfileAdded can be intercepted using the following Spark listeners:

SparkListenerResourceProfileAdded is recorded using AppStatusListener for status reporting and monitoring.

Creating Instance

SparkListenerResourceProfileAdded takes the following to be created:

  • ResourceProfile

SparkListenerResourceProfileAdded is created when:

Spark History Server

SparkListenerResourceProfileAdded is logged in Spark History Server using EventLoggingListener.

SparkListenerResourceProfileAdded is converted from and to JSON format using JsonProtocol (resourceProfileAddedFromJson and resourceProfileAddedToJson, respectively).