java.lang.NoSuchMethodError

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

Samebug tips0

There are no available Samebug tips for this exception. If you know how to solve this issue, help other users by writing a short tip.

Don't give up yet. Paste your full stack trace to get a solution.

Solutions on the web7019

  • org.apache.spark.util.Utils$.getUserJars(Lorg/apache/spark/SparkConf;Z)Lscala/collection/Seq;
  • via Stack Overflow by Balkrushn
    , 9 months ago
    org.apache.spark.sql.SQLContext.createDataFrame(Lscala/collection/Seq;Lscala/ref lect/api/TypeTags$TypeTag;)Lorg/apache/spark/sql/Dataset;
  • com.mongodb.spark.config.ReadConfig$.apply(Lorg/apache/spark/SparkConf;Lscala/collection/Map;)Ljava/lang/Object;
  • Stack trace

    • 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(H2OInterpreter.scala:66) at org.apache.spark.repl.h2o.BaseH2OInterpreter.initializeInterpreter(BaseH2OInterpreter.scala:102) at org.apache.spark.repl.h2o.BaseH2OInterpreter.<init>(BaseH2OInterpreter.scala:293) at org.apache.spark.repl.h2o.H2OInterpreter.<init>(H2OInterpreter.scala:42) at water.api.scalaInt.ScalaCodeHandler.createInterpreterInPool(ScalaCodeHandler.scala:100) at water.api.scalaInt.ScalaCodeHandler$$anonfun$initializeInterpreterPool$1.apply(ScalaCodeHandler.scala:94) at water.api.scalaInt.ScalaCodeHandler$$anonfun$initializeInterpreterPool$1.apply(ScalaCodeHandler.scala:93) at scala.collection.immutable.Range.foreach(Range.scala:160) at water.api.scalaInt.ScalaCodeHandler.initializeInterpreterPool(ScalaCodeHandler.scala:93) at water.api.scalaInt.ScalaCodeHandler.<init>(ScalaCodeHandler.scala:37) at water.api.CoreRestApi$.registerScalaIntEndp(RestAPIManager.scala:118) at water.api.CoreRestApi$.register(RestAPIManager.scala:58) at water.api.RestAPIManager.register(RestAPIManager.scala:46) at water.api.RestAPIManager.registerAll(RestAPIManager.scala:38) at org.apache.spark.h2o.backends.internal.InternalH2OBackend.init(InternalH2OBackend.scala:114) at org.apache.spark.h2o.H2OContext.init(H2OContext.scala:97) at org.apache.spark.h2o.H2OContext$.getOrCreate(H2OContext.scala:267) at org.apache.spark.h2o.H2OContext$.getOrCreate(H2OContext.scala:281)

    Write tip

    You have a different solution? A short tip here would help you and many other users who saw this issue last week.

    Users with the same issue

    You’re the first here who have seen this exception.