java.io.FileNotFoundException: file:/opt/spark-jobserver/log4j-server.properties (No such file or directory)
Searched on Google with the first line of a JAVA stack trace?
We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.
Recommended solutions based on your search
Samebug tips
Make sure the file resides in the project folder if you're referencing it via a relative path. If not, use the absolute path to the file with the file extension.
Use the relative path when providing the location of the file. Place the file in the project folder and access it according to the hierarchy. If you want to access a file outside the project folder, provide the absolute path.
Solutions on the web
via JIRA by Michal Malohlava, 1 year ago
via javatalks.ru by Unknown author, 2 years ago
via GitHub by benjyw
, 2 years agovia Stack Overflow by Ittikorn S.
, 1 year agovia Stack Overflow by Harsha
, 2 years agovia Google Groups by Pep, 2 years ago
java.io.FileNotFoundException: file:/opt/spark-jobserver/log4j-server.properties (No such file or directory)
at java.io.FileInputStream.open(Native Method)
at java.io.FileInputStream.
(FileInputStream.java:146) at java.io.FileInputStream.
(FileInputStream.java:101) at org.apache.log4j.PropertyConfigurator.doConfigure(PropertyConfigurator.java:372)
at org.apache.log4j.PropertyConfigurator.configure(PropertyConfigurator.java:403)
at water.util.Log.createLog4j(Log.java:308)
at water.util.Log.write0(Log.java:106)
at water.util.Log.write0(Log.java:92)
at water.util.Log.write(Log.java:77)
at water.util.Log.info(Log.java:54)
at water.init.NetworkInit.initializeNetworkSockets(NetworkInit.java:363)
at water.H2O.startLocalNode(H2O.java:874)
at water.H2O.main(H2O.java:1253)
at water.H2OClient.main(H2OClient.java:16)
at water.H2OClientApp.driver(H2OClientApp.java:24)
at water.H2OClientApp.main(H2OClientApp.java:18)
at org.apache.spark.h2o.H2OContext.start(H2OContext.scala:151)