How to get Spark run-time and structured metrics before job completion?
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-15-2025 05:41 AM
Hi all,
I’m trying to get Spark run-time metrics and structured streaming metrics by enabling cluster logging and now I see the following folders:
What I noticed is that the eventlog folder only gets populated after a job has completed. That makes it difficult to calculate metrics in near real-time.
Is there a common parser or recommended approach to read from the driver and executor logs so that I can compute these metrics while the job is still running, rather than only after completion?
Thanks in advance for your guidance!