GitHub user carsonwang opened a pull request:

    https://github.com/apache/spark/pull/8104

    [SPARK-9426][WebUI]Job page DAG visualization is not shown

    To reproduce the issue, go to the stage page and click DAG Visualization 
once, then go to the job page to show the job DAG visualization. You will only 
see the first stage of the job.
    Root cause: the java script use local storage to remember your selection. 
Once you click the stage DAG visualization, the local storage set 
`expand-dag-viz-arrow-stage` to true. When you go to the job page, the js 
checks `expand-dag-viz-arrow-stage` in the local storage first and will try to 
show stage DAG visualization on the job page.
    To fix this, I set an id to the DAG span to differ job page and stage page. 
In the js code, we check the id and local storage together to make sure we show 
the correct DAG visualization. 

You can merge this pull request into a Git repository by running:

    $ git pull https://github.com/carsonwang/spark SPARK-9426

Alternatively you can review and apply these changes as the patch at:

    https://github.com/apache/spark/pull/8104.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

    This closes #8104
    
----
commit f3119a4a57d44849bfebddfeeef8570c0f51d1ca
Author: Carson Wang <[email protected]>
Date:   2015-08-11T13:14:31Z

    Fix job page DAG visualization issue

----


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to