We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
SparkOperatorConfManager
FileNotFoundException
1 parent c95ed16 commit ca45b0fCopy full SHA for ca45b0f
spark-operator/src/main/java/org/apache/spark/k8s/operator/config/SparkOperatorConfManager.java
@@ -20,6 +20,7 @@
20
package org.apache.spark.k8s.operator.config;
21
22
import java.io.FileInputStream;
23
+import java.io.FileNotFoundException;
24
import java.io.IOException;
25
import java.io.InputStream;
26
import java.util.Map;
@@ -94,6 +95,8 @@ private Properties getProperties(String filePath) {
94
95
Properties properties = new Properties();
96
try (InputStream inputStream = new FileInputStream(filePath)) {
97
properties.load(inputStream);
98
+ } catch (FileNotFoundException e) {
99
+ log.warn("File Not Found: {}", filePath);
100
} catch (IOException e) {
101
log.error("Failed to load properties from {}.", filePath, e);
102
}
0 commit comments