thejdeep opened a new pull request #34607:
URL: https://github.com/apache/spark/pull/34607


   Revert "Revert "[SPARK-36038][CORE] Speculation metrics summary at stage 
level""
   
   This reverts commit 4f16d3844532d9434d93c817e4fae15d10378af7.
   
   [SPARK-36068][CORE] Fix error in SHS when speculation data is absent in 
stages response
   
   More information on the changes proposed are mentioned in 
https://github.com/apache/spark/pull/33253
   
   ### What changes were proposed in this pull request?
   In addition to the changes mentioned in the original PR, we only show the 
speculation metrics table if the data is present in the stages API response.
   
   
   ### Why are the changes needed?
   Originally, without the check for the speculation response, stages page 
would throw an error about the missing speculation response.
   
   ### How was this patch tested?
   Tested locally with presence of speculation metrics and also absence of it.
   
   Absence of speculation metrics : 
   ![Screen Shot 2021-11-15 at 10 12 23 
AM](https://user-images.githubusercontent.com/1708757/141836847-b0768265-35eb-4963-b83a-8b785318e82d.png)
   
   Presence of speculation metrics : 
   ![Screen Shot 2021-11-15 at 10 11 52 
AM](https://user-images.githubusercontent.com/1708757/141836945-1078bfcb-1c07-44db-9f33-5dbd09ece6f2.png)
   
   
   


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