java.lang.NoSuchMethodError: org.apache.spark.util.Utils$.getUserJars(Lorg/apache/spark/SparkConf;Z)Lscala/collection/Seq;

GitHub | alexDeCastroAtGit | 7 months ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  1. 0

    #question/SOS: trouble connecting to h2o cluster

    GitHub | 7 months ago | alexDeCastroAtGit
    java.lang.NoSuchMethodError: org.apache.spark.util.Utils$.getUserJars(Lorg/apache/spark/SparkConf;Z)Lscala/collection/Seq;

    Root Cause Analysis

    1. java.lang.NoSuchMethodError

      org.apache.spark.util.Utils$.getUserJars(Lorg/apache/spark/SparkConf;Z)Lscala/collection/Seq;

      at org.apache.spark.repl.h2o.H2OInterpreter.createSettings()
    2. org.apache.spark
      H2OInterpreter.<init>
      1. org.apache.spark.repl.h2o.H2OInterpreter.createSettings(H2OInterpreter.scala:66)
      2. org.apache.spark.repl.h2o.BaseH2OInterpreter.initializeInterpreter(BaseH2OInterpreter.scala:102)
      3. org.apache.spark.repl.h2o.BaseH2OInterpreter.<init>(BaseH2OInterpreter.scala:293)
      4. org.apache.spark.repl.h2o.H2OInterpreter.<init>(H2OInterpreter.scala:42)
      4 frames
    3. water.api.scalaInt
      ScalaCodeHandler$$anonfun$initializeInterpreterPool$1.apply
      1. water.api.scalaInt.ScalaCodeHandler.createInterpreterInPool(ScalaCodeHandler.scala:100)
      2. water.api.scalaInt.ScalaCodeHandler$$anonfun$initializeInterpreterPool$1.apply(ScalaCodeHandler.scala:94)
      3. water.api.scalaInt.ScalaCodeHandler$$anonfun$initializeInterpreterPool$1.apply(ScalaCodeHandler.scala:93)
      3 frames
    4. Scala
      Range.foreach
      1. scala.collection.immutable.Range.foreach(Range.scala:160)
      1 frame
    5. water.api.scalaInt
      ScalaCodeHandler.<init>
      1. water.api.scalaInt.ScalaCodeHandler.initializeInterpreterPool(ScalaCodeHandler.scala:93)
      2. water.api.scalaInt.ScalaCodeHandler.<init>(ScalaCodeHandler.scala:37)
      2 frames
    6. water.api
      RestAPIManager.registerAll
      1. water.api.CoreRestApi$.registerScalaIntEndp(RestAPIManager.scala:118)
      2. water.api.CoreRestApi$.register(RestAPIManager.scala:58)
      3. water.api.RestAPIManager.register(RestAPIManager.scala:46)
      4. water.api.RestAPIManager.registerAll(RestAPIManager.scala:38)
      4 frames
    7. org.apache.spark
      H2OContext$.getOrCreate
      1. org.apache.spark.h2o.backends.internal.InternalH2OBackend.init(InternalH2OBackend.scala:114)
      2. org.apache.spark.h2o.H2OContext.init(H2OContext.scala:97)
      3. org.apache.spark.h2o.H2OContext$.getOrCreate(H2OContext.scala:267)
      4. org.apache.spark.h2o.H2OContext$.getOrCreate(H2OContext.scala:281)
      4 frames