java.lang.IllegalArgumentException: requirement failed

Stack Overflow | gsamaras | 3 months ago
  1. 0

    Compute Cost of Kmeans

    Stack Overflow | 3 months ago | gsamaras
    java.lang.IllegalArgumentException: requirement failed
  2. 0

    Re: IllegalArgumentException on calling KMeans.train()

    apache.org | 2 years ago
    java.lang.IllegalArgumentException: requirement failed
  3. Speed up your debug routine!

    Automated exception search integrated into your IDE

  4. 0

    RE: KMeans - java.lang.IllegalArgumentException: requirement failed

    apache.org | 2 years ago
    java.lang.IllegalArgumentException: requirement failed
  5. 0

    RE: KMeans - java.lang.IllegalArgumentException: requirement failed

    apache.org | 1 year ago
    java.lang.IllegalArgumentException: requirement failed

  1. richard77 9 times, last 1 week ago
  2. gehel 2 times, last 1 month ago
  3. tyson925 1 times, last 1 month ago
  4. rp 22 times, last 3 months ago
  5. melezov 2 times, last 3 months ago
3 more registered users
35 unregistered visitors
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

    requirement failed

    at scala.Predef$.require()
  2. Scala
    Predef$.require
    1. scala.Predef$.require(Predef.scala:221)
    1 frame
  3. Spark Project ML Library
    KMeans$$anonfun$findClosest$1.apply
    1. org.apache.spark.mllib.util.MLUtils$.fastSquaredDistance(MLUtils.scala:330)
    2. org.apache.spark.mllib.clustering.KMeans$.fastSquaredDistance(KMeans.scala:595)
    3. org.apache.spark.mllib.clustering.KMeans$$anonfun$findClosest$1.apply(KMeans.scala:569)
    4. org.apache.spark.mllib.clustering.KMeans$$anonfun$findClosest$1.apply(KMeans.scala:563)
    4 frames
  4. Scala
    ArraySeq.foreach
    1. scala.collection.mutable.ArraySeq.foreach(ArraySeq.scala:73)
    1 frame
  5. Spark Project ML Library
    KMeansModel$$anonfun$computeCost$1.apply
    1. org.apache.spark.mllib.clustering.KMeans$.findClosest(KMeans.scala:563)
    2. org.apache.spark.mllib.clustering.KMeans$.pointCost(KMeans.scala:586)
    3. org.apache.spark.mllib.clustering.KMeansModel$$anonfun$computeCost$1.apply(KMeansModel.scala:88)
    4. org.apache.spark.mllib.clustering.KMeansModel$$anonfun$computeCost$1.apply(KMeansModel.scala:88)
    4 frames
  6. Scala
    AbstractIterator.fold
    1. scala.collection.Iterator$$anon$11.next(Iterator.scala:328)
    2. scala.collection.Iterator$class.foreach(Iterator.scala:727)
    3. scala.collection.AbstractIterator.foreach(Iterator.scala:1157)
    4. scala.collection.TraversableOnce$class.foldLeft(TraversableOnce.scala:144)
    5. scala.collection.AbstractIterator.foldLeft(Iterator.scala:1157)
    6. scala.collection.TraversableOnce$class.fold(TraversableOnce.scala:199)
    7. scala.collection.AbstractIterator.fold(Iterator.scala:1157)
    7 frames
  7. Spark
    Executor$TaskRunner.run
    1. org.apache.spark.rdd.RDD$$anonfun$fold$1$$anonfun$19.apply(RDD.scala:1086)
    2. org.apache.spark.rdd.RDD$$anonfun$fold$1$$anonfun$19.apply(RDD.scala:1086)
    3. org.apache.spark.SparkContext$$anonfun$36.apply(SparkContext.scala:1951)
    4. org.apache.spark.SparkContext$$anonfun$36.apply(SparkContext.scala:1951)
    5. org.apache.spark.scheduler.ResultTask.runTask(ResultTask.scala:66)
    6. org.apache.spark.scheduler.Task.run(Task.scala:89)
    7. org.apache.spark.executor.Executor$TaskRunner.run(Executor.scala:227)
    7 frames
  8. Java RT
    Thread.run
    1. java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
    2. java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
    3. java.lang.Thread.run(Thread.java:745)
    3 frames