GitHub user tmagrino opened a pull request:

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

    [SPARK-15885] [Web UI] Provide links to executor logs from stage details 
page in UI

    ## What changes were proposed in this pull request?
    
    Added links to logs (or an indication that there are no logs) for entries 
which list an executor in the stage details page of the UI.
    
    This helps streamline the workflow where a user views a stage details page 
and determines that they would like to see the associated executor log for 
further examination.  Previously, a user would have to cross reference the 
executor id listed on the stage details page with the corresponding entry on 
the executors tab.
    
    ## How was this patch tested?
    
    Ran existing unit tests.
    Ran test queries on a platform which did not record executor logs and again 
on a platform which did record executor logs and verified that the new table 
column was populated with "No Logs Found" and links to the logs (which were 
verified as linking to the appropriate files), respectively.
    
    Attached is a screenshot of the UI page with no links, with the new columns 
highlighted.  Additional screenshot of these columns with the populated links.
    
    Without links:
    ![screen shot 2016-06-13 at 4 19 49 pm 
2](https://cloud.githubusercontent.com/assets/1450821/16052353/ba5a1c24-3218-11e6-8852-25311d7086fa.png)
    
    With links:
    ![with 
logs](https://cloud.githubusercontent.com/assets/1450821/16052365/cad1c372-3218-11e6-9770-754da0999a3b.png)
    
    This contribution is my original work and I license the work to the project 
under the Apache Spark project's open source license.

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

    $ git pull https://github.com/tmagrino/spark easiertofindlogs

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

    https://github.com/apache/spark/pull/13664.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 #13664
    
----
commit 95c70b8487f913d977ae70b308442127ddfa3f2a
Author: Tom Magrino <[email protected]>
Date:   2016-06-10T21:11:30Z

    Add links to executor logs from stage details page in UI.

commit f8667c66ee142173d6d4873fd6264b4d3ce482b6
Author: Tom Magrino <[email protected]>
Date:   2016-06-10T23:59:08Z

    Small fixs for missing indices and testing.

commit 38b2fb78d21e306d67971501aa459535b48e43a5
Author: Tom Magrino <[email protected]>
Date:   2016-06-13T16:17:59Z

    Code style fix.

----


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