gpt4 book ai didi

apache-spark - 当执行人丢失时会发生什么?

转载 作者:行者123 更新时间:2023-12-03 06:15:33 24 4
gpt4 key购买 nike

我收到这些消息:

16/05/22 13:33:53 ERROR YarnScheduler: Lost executor 61 on <host>: Executor heartbeat timed out after 134828 ms
16/05/22 13:33:53 WARN TaskSetManager: Lost task 25.0 in stage 12.0 (TID 2214, <host>): ExecutorLostFailure (executor 61 lost)

会产生替代执行器吗?

最佳答案

Will a replacement executor be spawned?

是的,会的。 Sparks DAGScheduler 及其较低级别的集群管理器实现(独立、YARN 或 Mesos)将注意到任务失败,并将负责重新安排该任务,作为执行的总体阶段的一部分。

DAGScheduler

DAGScheduler does three things in Spark (thorough explanations follow):

  • Computes an execution DAG, i.e. DAG of stages, for a job.
  • Determines the preferred locations to run each task on.
  • Handles failures due to shuffle output files being lost.

有关更多信息,您可以在 Advanced Spark Tutorial 中找到并在 Mastering Apache Spark .

关于apache-spark - 当执行人丢失时会发生什么?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/37377512/

24 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com