java.lang.ExceptionInInitializerError

This exception has no message.

Solutions on the web8221

  • This exception has no message.
  • via Terracotta by hashcode, 1 year ago
    This exception has no message.
  • This exception has no message.
  • Stack trace

    • java.lang.ExceptionInInitializerError at com.ts.clustering.TrainModel$2.call(TrainModel.java:71) at com.ts.clustering.TrainModel$2.call(TrainModel.java:67) at org.apache.spark.api.java.JavaPairRDD$$anonfun$toScalaFunction$1.apply(JavaPairRDD.scala:1015) at scala.collection.Iterator$$anon$11.next(Iterator.scala:328) at scala.collection.Iterator$$anon$14.hasNext(Iterator.scala:389) at org.apache.spark.storage.MemoryStore.unrollSafely(MemoryStore.scala:284) Caused by: org.apache.spark.SparkException: A master URL must be set in your configuration at org.apache.spark.SparkContext.<init>(SparkContext.scala:401) at org.apache.spark.api.java.JavaSparkContext.<init>(JavaSparkContext.scala:59) at com.ts.clustering.TrainModel.<clinit>(TrainModel.java:35) ... 6 more

    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

    Unknown user
    Once, 11 months ago
    Unknown user
    Once, 1 year ago
    Once, 9 months ago
    Unknown user
    2 times, 1 year ago
    Once, 4 months ago
    13 more bugmates