karuppayya opened a new pull request, #57355:
URL: https://github.com/apache/spark/pull/57355

   
   ### What changes were proposed in this pull request?
   Adds the ability for a pluggable shuffle storage implementation to declare 
custom write metrics and report their values. The declared metrics are surfaced 
on the Exchange operator node in the SQL UI. 
   (This is similar to the custom-metrics support that DSV2 sources already 
have.)
   
   This covers shuffle **write** metrics only. Read-side custom metrics will be 
a follow-up.
   
   ### Why are the changes needed?
   Spark supports pluggable shuffle storage, so shuffle data can be written to 
substrates like a remote/external shuffle service, a distributed filesystem 
(HDFS), or the default local disk. 
   However, plugins have no way to expose substrate-specific write metrics to 
users — e.g. bytes pushed to a remote shuffle service, or spill-file counts and 
fsync counts for local disk — so these remain invisible in the SQL UI.
   
   ### Does this PR introduce _any_ user-facing change?
   Yes, indirectly. 
   A shuffle storage plugin can now declare custom write metrics, which appear 
on the Shuffle exchange operator node in the SQL UI. 
   Plugins that dont declare custome metrics see no change.
   
   ### How was this patch tested?
   - Unit tests
   - Manual testing from SQL UI
   
   ### Was this patch authored or co-authored using generative AI tooling?
   Generated-by: Claude Code (Opus 4.8)
   


-- 
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]

Reply via email to