提交 0fb6e0dd 编写于 作者: Z zentol 提交者: Robert Metzger

[FLINK-3434] Prevent NPE in ClientFrontend#getClient()

This closes #1695
上级 9692c836
...@@ -367,9 +367,8 @@ public abstract class FlinkYarnClientBase extends AbstractFlinkYarnClient { ...@@ -367,9 +367,8 @@ public abstract class FlinkYarnClientBase extends AbstractFlinkYarnClient {
try { try {
org.apache.flink.core.fs.FileSystem.setDefaultScheme(flinkConfiguration); org.apache.flink.core.fs.FileSystem.setDefaultScheme(flinkConfiguration);
} catch (IOException e) { } catch (IOException e) {
LOG.error("Error while setting the default " + throw new IOException("Error while setting the default " +
"filesystem scheme from configuration.", e); "filesystem scheme from configuration.", e);
return null;
} }
// ------------------ Check if the specified queue exists -------------- // ------------------ Check if the specified queue exists --------------
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册