You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Kent Yao (Jira)" <ji...@apache.org> on 2026/02/07 16:15:00 UTC

[jira] [Resolved] (SPARK-55387) Broken DAG Visualization in Spark UI

     [ https://issues.apache.org/jira/browse/SPARK-55387?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Kent Yao resolved SPARK-55387.
------------------------------
    Fix Version/s: 4.2.0
                   4.1.2
       Resolution: Fixed

Issue resolved by pull request 54171
[https://github.com/apache/spark/pull/54171]

> Broken DAG Visualization in Spark UI
> ------------------------------------
>
>                 Key: SPARK-55387
>                 URL: https://issues.apache.org/jira/browse/SPARK-55387
>             Project: Spark
>          Issue Type: Bug
>          Components: UI
>    Affects Versions: 4.2.0
>            Reporter: Ruifeng Zheng
>            Assignee: Kent Yao
>            Priority: Major
>              Labels: pull-request-available
>             Fix For: 4.2.0, 4.1.2
>
>         Attachments: Jobs.png, Stages.png, htmls.zip
>
>
> The DAG is not properly rendered
>  
> {code:java}
> scala> sc.range(0, 10, 1, 4).count()
> val res0: Long = 10 {code}
>  
> It is broken in both Jobs and Stages
> Jobs
> {code:java}
>         
>               digraph G {
>   id="graph_0";
>   subgraph graph_stage_0 {
>     id="graph_stage_0";
>     isCluster="true";
>     label="Stage 0";
>     subgraph cluster_0 {
>       id="cluster_0";
>       isCluster="true";
>       label="range";
>       0 [id="node_0" labelType="html" label="ParallelCollectionRDD [0]<br>range at &lt;console&gt;:1}"];
>       1 [id="node_1" labelType="html" label="MapPartitionsRDD [1]<br>range at &lt;console&gt;:1}"];
>     }
>   }
>   0->1;
> }
>               
>               
>               
>             
>        {code}
>  
> Stages
> {code:java}
>         
>               digraph G {
>   id="graph_0";
>   subgraph graph_stage_0 {
>     id="graph_stage_0";
>     isCluster="true";
>     label="Stage 0";
>     subgraph cluster_0 {
>       id="cluster_0";
>       isCluster="true";
>       label="range";
>       0 [id="node_0" labelType="html" label="ParallelCollectionRDD [0]<br>range at &lt;console&gt;:1}"];
>       1 [id="node_1" labelType="html" label="MapPartitionsRDD [1]<br>range at &lt;console&gt;:1}"];
>     }
>   }
>   0->1;
> }
>               
>               
>               
>             
>        {code}
>  
> I checked with Firefox, Edge and Chrome, Spark-Shell and PySpark, the results are similar.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

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