Github user zentol commented on a diff in the pull request:
https://github.com/apache/flink/pull/4022#discussion_r119448300
--- Diff:
flink-yarn/src/main/java/org/apache/flink/yarn/AbstractYarnClusterDescriptor.java
---
@@ -392,6 +392,7 @@ protected YarnClient getYarnClient() {
@Override
public YarnClusterClient retrieve(String applicationID) {
+ final YarnClient yarnClient = getYarnClient();
try {
// check if required Hadoop environment variables are
set. If not, warn user
if (System.getenv("HADOOP_CONF_DIR") == null &&
--- End diff --
does `getYarnClient()` fail if this condition is fulfilled? If so we should
put this if block before the call to `getYarnClient()`.
---
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.
---