gaogaotiantian commented on PR #60150: URL: https://github.com/apache/spark/pull/60150#issuecomment-6751745066
> Stage default runs a recursive call-tree merge on the scheduler's accumulator acknowledgement path ... Is that trade-off what you want for the default? Yes, this is the trade-off we want. The sampling profiler is opt-in, and with per-task keys the driver's memory grows with the number of tasks, which is the problem this PR fixes. A small, bounded merge cost per update, only while sampling is enabled, is acceptable for that. The perf and memory profilers already merge results per UDF id across tasks in the same place, so the `stage` default follows the same model. -- 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]
