SparkListenerResourceProfileAdded¶
SparkListenerResourceProfileAdded
is a SparkListenerEvent.
SparkListenerResourceProfileAdded
can be intercepted using the following Spark listeners:
SparkFirehoseListener
- SparkListenerInterface
- SparkListener
SparkListenerResourceProfileAdded
is recorded using AppStatusListener for status reporting and monitoring.
Creating Instance¶
SparkListenerResourceProfileAdded
takes the following to be created:
- ResourceProfile
SparkListenerResourceProfileAdded
is created when:
ResourceProfileManager
is requested to register a new ResourceProfileJsonProtocol
(Spark History Server) is requested to resourceProfileAddedFromJson
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).