java.lang.NoSuchMethodError: java.util.Map.getOrDefault(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;

Stack Overflow | Marat Kamalov | 9 months ago
tip
Do you know that we can give you better hits? Get more relevant results from Samebug’s stack trace search.
  1. 0

    Zeppelin Spark cant connect Mesos DC/OS

    Stack Overflow | 9 months ago | Marat Kamalov
    java.lang.NoSuchMethodError: java.util.Map.getOrDefault(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;

    Root Cause Analysis

    1. java.lang.NoSuchMethodError

      java.util.Map.getOrDefault(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;

      at org.apache.spark.scheduler.cluster.mesos.MesosSchedulerUtils$class.passKerberosConf()
    2. Spark
      CoarseMesosSchedulerBackend$$anonfun$buildMesosTasks$1.apply
      1. org.apache.spark.scheduler.cluster.mesos.MesosSchedulerUtils$class.passKerberosConf(MesosSchedulerUtils.scala:345)
      2. org.apache.spark.scheduler.cluster.mesos.CoarseMesosSchedulerBackend.passKerberosConf(CoarseMesosSchedulerBackend.scala:57)
      3. org.apache.spark.scheduler.cluster.mesos.CoarseMesosSchedulerBackend.createCommand(CoarseMesosSchedulerBackend.scala:187)
      4. org.apache.spark.scheduler.cluster.mesos.CoarseMesosSchedulerBackend$$anonfun$buildMesosTasks$1.apply(CoarseMesosSchedulerBackend.scala:418)
      5. org.apache.spark.scheduler.cluster.mesos.CoarseMesosSchedulerBackend$$anonfun$buildMesosTasks$1.apply(CoarseMesosSchedulerBackend.scala:394)
      5 frames
    3. Scala
      ArrayBuffer.foreach
      1. scala.collection.mutable.ResizableArray$class.foreach(ResizableArray.scala:59)
      2. scala.collection.mutable.ArrayBuffer.foreach(ArrayBuffer.scala:47)
      2 frames
    4. Spark
      CoarseMesosSchedulerBackend.resourceOffers
      1. org.apache.spark.scheduler.cluster.mesos.CoarseMesosSchedulerBackend.buildMesosTasks(CoarseMesosSchedulerBackend.scala:394)
      2. org.apache.spark.scheduler.cluster.mesos.CoarseMesosSchedulerBackend.handleMatchedOffers(CoarseMesosSchedulerBackend.scala:338)
      3. org.apache.spark.scheduler.cluster.mesos.CoarseMesosSchedulerBackend.resourceOffers(CoarseMesosSchedulerBackend.scala:310)
      3 frames