java.lang.IllegalArgumentException: No resource called cpus in [name: "mem" type: SCALAR scalar { value: 2067.0 } role: "*" , name: "disk" type: SCALAR scalar { value: 900.0 } role: "*" , name: "ports" type: RANGES ranges { range { begin: 31000 end: 32000 } } role: "*" ]

github.com | 4 months ago
  1. 0

    eco-release-metadata/RELEASENOTES.1.2.0.md at master · aw-was-here/eco-release-metadata · GitHub

    github.com | 4 months ago
    java.lang.IllegalArgumentException: No resource called cpus in [name: "mem" type: SCALAR scalar { value: 2067.0 } role: "*" , name: "disk" type: SCALAR scalar { value: 900.0 } role: "*" , name: "ports" type: RANGES ranges { range { begin: 31000 end: 32000 } } role: "*" ]
  2. 0
    Some bots are sending malformed HTTP requests to your site. Try to find their IP addresses in the access logs and ask them to fix the bots or blacklist them.

    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.IllegalArgumentException

      No resource called cpus in [name: "mem" type: SCALAR scalar { value: 2067.0 } role: "*" , name: "disk" type: SCALAR scalar { value: 900.0 } role: "*" , name: "ports" type: RANGES ranges { range { begin: 31000 end: 32000 } } role: "*" ]

      at org.apache.spark.scheduler.cluster.mesos.CoarseMesosSchedulerBackend.org$apache$spark$scheduler$cluster$mesos$CoarseMesosSchedulerBackend$$getResource()
    2. Spark
      CoarseMesosSchedulerBackend$$anonfun$resourceOffers$1.apply
      1. org.apache.spark.scheduler.cluster.mesos.CoarseMesosSchedulerBackend.org$apache$spark$scheduler$cluster$mesos$CoarseMesosSchedulerBackend$$getResource(CoarseMesosSchedulerBackend.scala:236)
      2. org.apache.spark.scheduler.cluster.mesos.CoarseMesosSchedulerBackend$$anonfun$resourceOffers$1.apply(CoarseMesosSchedulerBackend.scala:200)
      3. org.apache.spark.scheduler.cluster.mesos.CoarseMesosSchedulerBackend$$anonfun$resourceOffers$1.apply(CoarseMesosSchedulerBackend.scala:197)
      3 frames
    3. Scala
      AbstractIterable.foreach
      1. scala.collection.Iterator$class.foreach(Iterator.scala:727)
      2. scala.collection.AbstractIterator.foreach(Iterator.scala:1157)
      3. scala.collection.IterableLike$class.foreach(IterableLike.scala:72)
      4. scala.collection.AbstractIterable.foreach(Iterable.scala:54)
      4 frames
    4. Spark
      CoarseMesosSchedulerBackend.resourceOffers
      1. org.apache.spark.scheduler.cluster.mesos.CoarseMesosSchedulerBackend.resourceOffers(CoarseMesosSchedulerBackend.scala:197)
      1 frame