GitHub user zentol opened a pull request:
https://github.com/apache/flink/pull/5543
[FLINK-8596][CLI] Also catch NoClassDefFoundErrors
## What is the purpose of the change
This PR modifies the CliFrontend to also catch `NoClassDefFoundErrors` when
loading the YARN CLI, as otherwise the entire CLI would crash if hadoop wasn't
on the classpath.
## Verifying this change
This change added tests an end-to-end test that is run on travis.
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/zentol/flink 8596
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/flink/pull/5543.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 #5543
----
commit 58438220d550c9dd6e0471a6971484c587e142b4
Author: zentol <chesnay@...>
Date: 2018-02-20T12:40:43Z
[FLINK-8596][CLI] Also catch NoClassDefFoundErrors
----
---