org.apache.spark.SparkException: Job aborted due to stage failure: Task 1 in stage 4.0 failed 4 times, most recent failure: Lost task 1.3 in stage 4.0 (TID 48, ip-10-157-155-247.ec2.internal): java.lang.NullPointerException

GitHub | fcesco | 6 months ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  1. 0

    Word2vec spark_nlp 0.5.0

    GitHub | 6 months ago | fcesco
    org.apache.spark.SparkException: Job aborted due to stage failure: Task 1 in stage 4.0 failed 4 times, most recent failure: Lost task 1.3 in stage 4.0 (TID 48, ip-10-157-155-247.ec2.internal): java.lang.NullPointerException

    Root Cause Analysis

    1. org.apache.spark.SparkException

      Job aborted due to stage failure: Task 1 in stage 4.0 failed 4 times, most recent failure: Lost task 1.3 in stage 4.0 (TID 48, ip-10-157-155-247.ec2.internal): java.lang.NullPointerException

      at org.deeplearning4j.spark.text.functions.TokenizerFunction.call()
    2. org.deeplearning4j.spark
      TokenizerFunction.call
      1. org.deeplearning4j.spark.text.functions.TokenizerFunction.call(TokenizerFunction.java:52)
      2. org.deeplearning4j.spark.text.functions.TokenizerFunction.call(TokenizerFunction.java:33)
      2 frames
    3. Spark
      JavaPairRDD$$anonfun$toScalaFunction$1.apply
      1. org.apache.spark.api.java.JavaPairRDD$$anonfun$toScalaFunction$1.apply(JavaPairRDD.scala:1015)
      1 frame
    4. Scala
      Iterator$$anon$11.next
      1. scala.collection.Iterator$$anon$11.next(Iterator.scala:328)
      2. scala.collection.Iterator$$anon$11.next(Iterator.scala:328)
      2 frames
    5. Spark
      Executor$TaskRunner.run
      1. org.apache.spark.util.Utils$.getIteratorSize(Utils.scala:1597)
      2. org.apache.spark.rdd.RDD$$anonfun$count$1.apply(RDD.scala:1157)
      3. org.apache.spark.rdd.RDD$$anonfun$count$1.apply(RDD.scala:1157)
      4. org.apache.spark.SparkContext$$anonfun$runJob$5.apply(SparkContext.scala:1858)
      5. org.apache.spark.SparkContext$$anonfun$runJob$5.apply(SparkContext.scala:1858)
      6. org.apache.spark.scheduler.ResultTask.runTask(ResultTask.scala:66)
      7. org.apache.spark.scheduler.Task.run(Task.scala:89)
      8. org.apache.spark.executor.Executor$TaskRunner.run(Executor.scala:214)
      8 frames
    6. 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