Github user squito commented on a diff in the pull request: https://github.com/apache/spark/pull/7770#discussion_r36018865 --- Diff: core/src/main/scala/org/apache/spark/ui/jobs/StagePage.scala --- @@ -67,6 +68,8 @@ private[ui] class StagePage(parent: StagesTab) extends WebUIPage("stage") { // if we find that it's okay. private val MAX_TIMELINE_TASKS = parent.conf.getInt("spark.ui.timeline.tasks.maximum", 1000) + private val displayPeakExecutionMemory = + parent.conf.getOption("spark.sql.unsafe.enabled").exists(_.toBoolean) --- End diff -- I haven't fully digested how this works yet, but won't you get this metric even w/out sql, and even w/out unsafe? I thought that you are collecting the data on all uses of `Aggregator`?
--- If your project is set up for it, you can reply to this email and have your reply appear on GitHub as well. If your project does not have this feature enabled and wishes so, or if the feature is enabled but not working, please contact infrastructure at infrastruct...@apache.org or file a JIRA ticket with INFRA. --- --------------------------------------------------------------------- To unsubscribe, e-mail: reviews-unsubscr...@spark.apache.org For additional commands, e-mail: reviews-h...@spark.apache.org