[jira] [Commented] (SPARK-37340) Display StageIds in Operators for SQL UI

2021-11-16 Thread Apache Spark (Jira)


[ 
https://issues.apache.org/jira/browse/SPARK-37340?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17444764#comment-17444764
 ] 

Apache Spark commented on SPARK-37340:
--

User 'yliou' has created a pull request for this issue:
https://github.com/apache/spark/pull/34622

> Display StageIds in Operators for SQL UI
> 
>
> Key: SPARK-37340
> URL: https://issues.apache.org/jira/browse/SPARK-37340
> Project: Spark
>  Issue Type: Improvement
>  Components: Web UI
>Affects Versions: 3.2.0
>Reporter: Yian Liou
>Priority: Major
>
> This proposes a more generalized solution of 
> https://issues.apache.org/jira/browse/SPARK-30209, where a stageId-> operator 
> mapping is done with the following algorithm.
>  1. Read SparkGraph to get every Node's name and respective AccumulatorIDs.
>  2. Gets each stage's AccumulatorIDs.
>  3. Maps Operators to stages by checking for non-zero intersection of Step 1 
> and 2's AccumulatorIDs.
>  4. Connect SparkGraphNodes to respective StageIDs for rendering in SQL UI.
> As a result, some operators without max metrics values will also have 
> stageIds in the UI. This Jira also aims to add minor enhancements to the SQL 
> UI tab.



--
This message was sent by Atlassian Jira
(v8.20.1#820001)

-
To unsubscribe, e-mail: issues-unsubscr...@spark.apache.org
For additional commands, e-mail: issues-h...@spark.apache.org



[jira] [Commented] (SPARK-37340) Display StageIds in Operators for SQL UI

2021-11-15 Thread Yian Liou (Jira)


[ 
https://issues.apache.org/jira/browse/SPARK-37340?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17444168#comment-17444168
 ] 

Yian Liou commented on SPARK-37340:
---

Will be working on this issue and opening pull request.

> Display StageIds in Operators for SQL UI
> 
>
> Key: SPARK-37340
> URL: https://issues.apache.org/jira/browse/SPARK-37340
> Project: Spark
>  Issue Type: Improvement
>  Components: Web UI
>Affects Versions: 3.2.0
>Reporter: Yian Liou
>Priority: Major
>
> This proposes a more generalized solution of 
> https://issues.apache.org/jira/browse/SPARK-30209, where a stageId-> operator 
> mapping is done with the following algorithm.
>  1. Read SparkGraph to get every Node's name and respective AccumulatorIDs.
>  2. Gets each stage's AccumulatorIDs.
>  3. Maps Operators to stages by checking for non-zero intersection of Step 1 
> and 2's AccumulatorIDs.
>  4. Connect SparkGraphNodes to respective StageIDs for rendering in SQL UI.
> As a result, some operators without max metrics values will also have 
> stageIds in the UI. This Jira also aims to add minor enhancements to the SQL 
> UI tab.



--
This message was sent by Atlassian Jira
(v8.20.1#820001)

-
To unsubscribe, e-mail: issues-unsubscr...@spark.apache.org
For additional commands, e-mail: issues-h...@spark.apache.org