java.lang.Exception: LOG_DIR not yet defined

JIRA | Michal Malohlava | 1 year ago
  1. 0

    Hi i'm trying to build assembly with sparkling-water to submit to spark-jobserver to submit after to yarn. Here's my sbt dependency: "ai.h2o" %% "sparkling-water-core" % "1.4.3" excludeAll( ExclusionRule(organization = "org.apache.spark"), ExclusionRule(organization = "com.google.guava"), ExclusionRule(organization = "org.slf4j"), ExclusionRule(organization = "com.esotericsoftware.kryo")), But get runtime exception: log4j:ERROR Could not read configuration file [file:/opt/spark-jobserver/log4j-server.properties]. 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.<init>(FileInputStream.java:146) at java.io.FileInputStream.<init>(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) ... log4j:ERROR Ignoring configuration file [file:/opt/spark-jobserver/log4j-server.properties]. ERROR: Log.getLogDir() failed, exiting now. java.lang.Exception: LOG_DIR not yet defined at water.util.Log.getLogDir(Log.java:154) at water.H2O.main(H2O.java:1256) 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) I have this file /opt/spark-jobserver/log4j-server.properties on a driver node

    JIRA | 1 year ago | Michal Malohlava
    java.lang.Exception: LOG_DIR not yet defined
  2. 0

    FHIR Logs: Committers Chat

    fhir.me | 8 months ago
    java.lang.Exception: Not done yet
  3. 0

    FHIR Logs: Implementers Chat

    fhir.me | 1 year ago
    java.lang.Exception: Not done yet
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    SQL server load test

    Oracle Community | 5 years ago | 550079
    java.lang.Exception: Operation not yet supported

    Not finding the right solution?
    Take a tour to get the most out of Samebug.

    Tired of useless tips?

    Automated exception search integrated into your IDE

    Root Cause Analysis

    1. java.lang.Exception

      LOG_DIR not yet defined

      at water.util.Log.getLogDir()
    2. water.util
      Log.getLogDir
      1. water.util.Log.getLogDir(Log.java:154)
      1 frame
    3. water
      H2OClientApp.main
      1. water.H2O.main(H2O.java:1256)
      2. water.H2OClient.main(H2OClient.java:16)
      3. water.H2OClientApp.driver(H2OClientApp.java:24)
      4. water.H2OClientApp.main(H2OClientApp.java:18)
      4 frames
    4. org.apache.spark
      H2OContext.start
      1. org.apache.spark.h2o.H2OContext.start(H2OContext.scala:151)
      1 frame