Ngone51 commented on pull request #34536: URL: https://github.com/apache/spark/pull/34536#issuecomment-964799934
> A thought exercise - how about modify AppStatusListener to add an executor only in case of SparkListenerExecutorAdded ? The problem is, `SparkListenerBlockManagerAdded` provides memory-related info (e.g., `maxMem`, `maxOnHeapMem`, `maxOffHeapMem`) which isn't provided by `SparkListenerExecutorAdded`. So, `SparkListenerBlockManagerAdded` is a necessary event unlike `SparkListenerBlockManagerRemoved`. Do you think we can add this memory-related info to `SparkListenerExecutorAdded` too? Though Spark event should be considered as public API, adding new fields doesn't seem to break compatibility. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
