org.apache.spark.SparkException: Job aborted due to stage failure: Exception while getting task result: org.apache.spark.storage.BlockFetchException: Failed to fetch block from 1 locations. Most recent failure cause:

nabble.com | 6 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

    Apache Spark User List - error "Py4JJavaError: An error occurred while calling z:org.apache.spark.sql.execution.EvaluatePython.takeAndServe."

    nabble.com | 6 months ago
    org.apache.spark.SparkException: Job aborted due to stage failure: Exception while getting task result: org.apache.spark.storage.BlockFetchException: Failed to fetch block from 1 locations. Most recent failure cause:
  2. 0

    Transformation with UDF to the same dataframe with `withColumn` fails

    Stack Overflow | 11 months ago | Ivan
    org.apache.spark.SparkException: Job aborted due to stage failure: Total size of serialized results of 9113 tasks (1024.0 MB) is bigger than spark.driver.maxResultSize (1024.0 MB)
  3. 0

    Spark Job aborted due to stage failure

    Stack Overflow | 6 months ago | zyenge
    org.apache.spark.SparkException: Job aborted due to stage failure: Exception while getting task result: org.apache.spark.storage.BlockFetchException: Failed to fetch block from 1 locations. Most recent failure cause:
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    an error on Mesos

    GitHub | 8 months ago | jsongcse
    org.apache.spark.SparkException: Job aborted due to stage failure: Task 0 in stage 0.0 failed 4 times, most recent failure: Lost task 0.3 in stage 0.0 (TID 3, hkcloud-node1): ExecutorLostFailure (executor 753a7274-173a-41bf-b800-0345adc29be0-S0 exited caused by one of the running tasks) Reason: Remote RPC client disassociated. Likely due to containers exceeding thresholds, or network issues. Check driver logs for WARN messages. Driver stacktrace:
  6. 0

    spark throws exception when querying large amount of data in mysql

    Stack Overflow | 1 year ago | snodawn
    org.apache.spark.SparkException: Job aborted.

  1. tyson925 1 times, last 3 weeks ago
  2. Nikolay Rybak 1 times, last 4 weeks ago
  3. johnxfly 1 times, last 1 month ago
  4. meneal 1 times, last 7 months ago
20 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. org.apache.spark.SparkException

    Job aborted due to stage failure: Exception while getting task result: org.apache.spark.storage.BlockFetchException: Failed to fetch block from 1 locations. Most recent failure cause:

    at org.apache.spark.scheduler.DAGScheduler.org$apache$spark$scheduler$DAGScheduler$$failJobAndIndependentStages()
  2. Spark
    DAGScheduler$$anonfun$abortStage$1.apply
    1. org.apache.spark.scheduler.DAGScheduler.org$apache$spark$scheduler$DAGScheduler$$failJobAndIndependentStages(DAGScheduler.scala:1431)
    2. org.apache.spark.scheduler.DAGScheduler$$anonfun$abortStage$1.apply(DAGScheduler.scala:1419)
    3. org.apache.spark.scheduler.DAGScheduler$$anonfun$abortStage$1.apply(DAGScheduler.scala:1418)
    3 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
    DAGScheduler$$anonfun$handleTaskSetFailed$1.apply
    1. org.apache.spark.scheduler.DAGScheduler.abortStage(DAGScheduler.scala:1418)
    2. org.apache.spark.scheduler.DAGScheduler$$anonfun$handleTaskSetFailed$1.apply(DAGScheduler.scala:799)
    3. org.apache.spark.scheduler.DAGScheduler$$anonfun$handleTaskSetFailed$1.apply(DAGScheduler.scala:799)
    3 frames
  5. Scala
    Option.foreach
    1. scala.Option.foreach(Option.scala:236)
    1 frame
  6. Spark
    RDD.takeOrdered
    1. org.apache.spark.scheduler.DAGScheduler.handleTaskSetFailed(DAGScheduler.scala:799)
    2. org.apache.spark.scheduler.DAGSchedulerEventProcessLoop.doOnReceive(DAGScheduler.scala:1640)
    3. org.apache.spark.scheduler.DAGSchedulerEventProcessLoop.onReceive(DAGScheduler.scala:1599)
    4. org.apache.spark.scheduler.DAGSchedulerEventProcessLoop.onReceive(DAGScheduler.scala:1588)
    5. org.apache.spark.util.EventLoop$$anon$1.run(EventLoop.scala:48)
    6. org.apache.spark.scheduler.DAGScheduler.runJob(DAGScheduler.scala:620)
    7. org.apache.spark.SparkContext.runJob(SparkContext.scala:1832)
    8. org.apache.spark.SparkContext.runJob(SparkContext.scala:1952)
    9. org.apache.spark.rdd.RDD$$anonfun$reduce$1.apply(RDD.scala:1025)
    10. org.apache.spark.rdd.RDDOperationScope$.withScope(RDDOperationScope.scala:150)
    11. org.apache.spark.rdd.RDDOperationScope$.withScope(RDDOperationScope.scala:111)
    12. org.apache.spark.rdd.RDD.withScope(RDD.scala:316)
    13. org.apache.spark.rdd.RDD.reduce(RDD.scala:1007)
    14. org.apache.spark.rdd.RDD$$anonfun$takeOrdered$1.apply(RDD.scala:1397)
    15. org.apache.spark.rdd.RDDOperationScope$.withScope(RDDOperationScope.scala:150)
    16. org.apache.spark.rdd.RDDOperationScope$.withScope(RDDOperationScope.scala:111)
    17. org.apache.spark.rdd.RDD.withScope(RDD.scala:316)
    18. org.apache.spark.rdd.RDD.takeOrdered(RDD.scala:1384)
    18 frames
  7. Spark Project SQL
    SparkPlan$$anonfun$execute$5.apply
    1. org.apache.spark.sql.execution.TakeOrderedAndProject.collectData(basicOperators.scala:213)
    2. org.apache.spark.sql.execution.TakeOrderedAndProject.doExecute(basicOperators.scala:223)
    3. org.apache.spark.sql.execution.SparkPlan$$anonfun$execute$5.apply(SparkPlan.scala:132)
    4. org.apache.spark.sql.execution.SparkPlan$$anonfun$execute$5.apply(SparkPlan.scala:130)
    4 frames
  8. Spark
    RDDOperationScope$.withScope
    1. org.apache.spark.rdd.RDDOperationScope$.withScope(RDDOperationScope.scala:150)
    1 frame
  9. Spark Project SQL
    Union$$anonfun$doExecute$1.apply
    1. org.apache.spark.sql.execution.SparkPlan.execute(SparkPlan.scala:130)
    2. org.apache.spark.sql.execution.Union$$anonfun$doExecute$1.apply(basicOperators.scala:144)
    3. org.apache.spark.sql.execution.Union$$anonfun$doExecute$1.apply(basicOperators.scala:144)
    3 frames
  10. Scala
    AbstractTraversable.map
    1. scala.collection.TraversableLike$$anonfun$map$1.apply(TraversableLike.scala:244)
    2. scala.collection.TraversableLike$$anonfun$map$1.apply(TraversableLike.scala:244)
    3. scala.collection.immutable.List.foreach(List.scala:318)
    4. scala.collection.TraversableLike$class.map(TraversableLike.scala:244)
    5. scala.collection.AbstractTraversable.map(Traversable.scala:105)
    5 frames
  11. Spark Project SQL
    SparkPlan$$anonfun$execute$5.apply
    1. org.apache.spark.sql.execution.Union.doExecute(basicOperators.scala:144)
    2. org.apache.spark.sql.execution.SparkPlan$$anonfun$execute$5.apply(SparkPlan.scala:132)
    3. org.apache.spark.sql.execution.SparkPlan$$anonfun$execute$5.apply(SparkPlan.scala:130)
    3 frames
  12. Spark
    RDDOperationScope$.withScope
    1. org.apache.spark.rdd.RDDOperationScope$.withScope(RDDOperationScope.scala:150)
    1 frame
  13. Spark Project SQL
    EvaluatePython.takeAndServe
    1. org.apache.spark.sql.execution.SparkPlan.execute(SparkPlan.scala:130)
    2. org.apache.spark.sql.execution.SparkPlan.executeTake(SparkPlan.scala:187)
    3. org.apache.spark.sql.execution.EvaluatePython$$anonfun$takeAndServe$1.apply$mcI$sp(python.scala:126)
    4. org.apache.spark.sql.execution.EvaluatePython$$anonfun$takeAndServe$1.apply(python.scala:124)
    5. org.apache.spark.sql.execution.EvaluatePython$$anonfun$takeAndServe$1.apply(python.scala:124)
    6. org.apache.spark.sql.execution.SQLExecution$.withNewExecutionId(SQLExecution.scala:56)
    7. org.apache.spark.sql.DataFrame.withNewExecutionId(DataFrame.scala:2086)
    8. org.apache.spark.sql.execution.EvaluatePython$.takeAndServe(python.scala:124)
    9. org.apache.spark.sql.execution.EvaluatePython.takeAndServe(python.scala)
    9 frames
  14. Java RT
    Method.invoke
    1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    2. sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
    3. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
    4. java.lang.reflect.Method.invoke(Method.java:606)
    4 frames
  15. Py4J
    GatewayConnection.run
    1. py4j.reflection.MethodInvoker.invoke(MethodInvoker.java:231)
    2. py4j.reflection.ReflectionEngine.invoke(ReflectionEngine.java:381)
    3. py4j.Gateway.invoke(Gateway.java:259)
    4. py4j.commands.AbstractCommand.invokeMethod(AbstractCommand.java:133)
    5. py4j.commands.CallCommand.execute(CallCommand.java:79)
    6. py4j.GatewayConnection.run(GatewayConnection.java:209)
    6 frames
  16. Java RT
    Thread.run
    1. java.lang.Thread.run(Thread.java:745)
    1 frame