scheduler.TaskSetManager: Lost task 1.0 in stage 0.0 (TID 1, localhost): java.lang.NumberFormatException: For input string: "6.67"

Stack Overflow | João_testeSW | 7 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

    Function take() error - Link Analysis Research using Spark Mllib

    Data Science | 7 months ago | João_testeSW
    scheduler.TaskSetManager: Lost task 1.0 in stage 0.0 (TID 1, localhost): java.lang.NumberFormatException: For input string: "6.67"
  2. 0

    Function take() error - Link Analysis Research using Spark Mllib

    Stack Overflow | 7 months ago | João_testeSW
    scheduler.TaskSetManager: Lost task 1.0 in stage 0.0 (TID 1, localhost): java.lang.NumberFormatException: For input string: "6.67"

    Root Cause Analysis

    1. scheduler.TaskSetManager

      Lost task 1.0 in stage 0.0 (TID 1, localhost): java.lang.NumberFormatException: For input string: "6.67"

      at java.lang.NumberFormatException.forInputString()
    2. Java RT
      Integer.parseInt
      1. java.lang.NumberFormatException.forInputString(NumberFormatException.java:65)
      2. java.lang.Integer.parseInt(Integer.java:492)
      3. java.lang.Integer.parseInt(Integer.java:527)
      3 frames
    3. Scala
      StringOps.toInt
      1. scala.collection.immutable.StringLike$class.toInt(StringLike.scala:229)
      2. scala.collection.immutable.StringOps.toInt(StringOps.scala:31)
      2 frames
    4. $line65
      $read$$iwC$$iwC$$iwC$$iwC$$iwC$$iwC$$iwC$$iwC$$iwC$$iwC$$iwC$$iwC.parseTransactions
      1. $line65.$read$$iwC$$iwC$$iwC$$iwC$$iwC$$iwC$$iwC$$iwC$$iwC$$iwC$$iwC$$iwC.parseTransactions(<console>:38)
      1 frame
    5. $line67
      $read$$iwC$$iwC$$iwC$$iwC$$iwC$$iwC$$iwC$$iwC$$iwC$$iwC$$iwC$$iwC$$anonfun$1.apply
      1. $line67.$read$$iwC$$iwC$$iwC$$iwC$$iwC$$iwC$$iwC$$iwC$$iwC$$iwC$$iwC$$iwC$$anonfun$1.apply(<console>:42)
      2. $line67.$read$$iwC$$iwC$$iwC$$iwC$$iwC$$iwC$$iwC$$iwC$$iwC$$iwC$$iwC$$iwC$$anonfun$1.apply(<console>:42)
      2 frames
    6. Scala
      Iterator$$anon$11.next
      1. scala.collection.Iterator$$anon$11.next(Iterator.scala:328)
      1 frame
    7. Spark
      Executor$TaskRunner.run
      1. org.apache.spark.storage.MemoryStore.unrollSafely(MemoryStore.scala:285)
      2. org.apache.spark.CacheManager.putInBlockManager(CacheManager.scala:171)
      3. org.apache.spark.CacheManager.getOrCompute(CacheManager.scala:78)
      4. org.apache.spark.rdd.RDD.iterator(RDD.scala:268)
      5. org.apache.spark.rdd.MapPartitionsRDD.compute(MapPartitionsRDD.scala:38)
      6. org.apache.spark.rdd.RDD.computeOrReadCheckpoint(RDD.scala:306)
      7. org.apache.spark.rdd.RDD.iterator(RDD.scala:270)
      8. org.apache.spark.rdd.MapPartitionsRDD.compute(MapPartitionsRDD.scala:38)
      9. org.apache.spark.rdd.RDD.computeOrReadCheckpoint(RDD.scala:306)
      10. org.apache.spark.rdd.RDD.iterator(RDD.scala:270)
      11. org.apache.spark.scheduler.ShuffleMapTask.runTask(ShuffleMapTask.scala:73)
      12. org.apache.spark.scheduler.ShuffleMapTask.runTask(ShuffleMapTask.scala:41)
      13. org.apache.spark.scheduler.Task.run(Task.scala:89)
      14. org.apache.spark.executor.Executor$TaskRunner.run(Executor.scala:214)
      14 frames
    8. Java RT
      Thread.run
      1. java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
      2. java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
      3. java.lang.Thread.run(Thread.java:745)
      3 frames