GitHub user jongyoul opened a pull request:
https://github.com/apache/zeppelin/pull/2964
ZEPPELIN-2221 Show `Jobs` page when `jobId` is missing
### What is this PR for?
Because of yarn's bug, Spark's `jobId` is not passed. This causes some
Spark UI link looks broken. In this kind of case, showing `Jobs` page looks
reasonable. Yarn's bug is already fixed with the latest version only, so we
need to handle it in Zeppelin side.
### What type of PR is it?
[Bug Fix]
### Todos
* [x] - Return `Jobs` page when `Job` page is not available
### What is the Jira issue?
* https://issues.apache.org/jira/browse/ZEPPELIN-2221
### How should this be tested?
1. Install outdated yarn
2. Run script
3. Click `Spark UI` to show `Jobs` page instead of 404
### Screenshots (if appropriate)
### Questions:
* Does the licenses files need update? No
* Is there breaking changes for older versions? No
* Does this needs documentation? No
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/jongyoul/zeppelin ZEPPELIN-2221
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/zeppelin/pull/2964.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 #2964
----
----
---