Details
-
Bug
-
Status: Resolved
-
Minor
-
Resolution: Fixed
-
None
-
None
-
None
Description
In CliFrontend#getClient() :
yarnCluster = flinkYarnClient.deploy(); yarnCluster.connectToCluster();
Looking at FlinkYarnClientBase#deployInternal(), null return is possible:
try { org.apache.flink.core.fs.FileSystem.setDefaultScheme(flinkConfiguration); } catch (IOException e) { LOG.error("Error while setting the default " + "filesystem scheme from configuration.", e); return null; }
We should check the return from deploy() before calling connectToCluster().