【问题标题】:Spark 2.0 state: COMPLETE Exit status code -100 on yarnSpark 2.0 状态:纱线上的 COMPLETE 退出状态代码 -100
【发布时间】:2020-11-17 16:40:33
【问题描述】:

有人可以指点我有关 -100 退出代码含义的文档吗? EMR 集群,YARN 上的 spark 2.0.0(根据 EMR 标准 spark-cluster 部署)。我见过https://www.cloudera.com/documentation/enterprise/5-8-x/topics/cdh_sg_yarn_container_exec_errors.html 给出了一些错误代码,其中-100 不是其中之一。此外,作为一个更普遍的问题,似乎 YARN 容器日志和 Spark 容器日志都没有包含太多关于导致这种失败的原因的信息......从我看到的 YARN 日志中

17/01/18 17:51:58 INFO YarnAllocator: Canceling requests for 1 executor container(s) to have a new desired total 4164 executors. 17/01/18 17:51:58 INFO YarnAllocator: Driver requested a total number of 4163 executor(s). 17/01/18 17:51:58 INFO YarnAllocator: Canceling requests for 1 executor container(s) to have a new desired total 4163 executors. 17/01/18 17:51:58 INFO YarnAllocator: Driver requested a total number of 4162 executor(s). 17/01/18 17:51:58 INFO YarnAllocator: Canceling requests for 1 executor container(s) to have a new desired total 4162 executors. 17/01/18 17:51:59 INFO YarnAllocator: Driver requested a total number of 4161 executor(s). 17/01/18 17:51:59 INFO YarnAllocator: Driver requested a total number of 4160 executor(s). 17/01/18 17:51:59 INFO YarnAllocator: Canceling requests for 2 executor container(s) to have a new desired total 4160 executors. 17/01/18 17:52:00 INFO YarnAllocator: Driver requested a total number of 4159 executor(s). 17/01/18 17:52:00 INFO YarnAllocator: Canceling requests for 1 executor container(s) to have a new desired total 4159 executors. 17/01/18 17:52:00 INFO YarnAllocator: Completed container container_1483555419510_0037_01_000114 on host: ip-172-20-221-152.us-west-2.compute.internal (state: COMPLETE, exit status: -100) 17/01/18 17:52:00 WARN YarnAllocator: Container marked as failed: container_1483555419510_0037_01_000114 on host: ip-172-20-221-152.us-west-2.compute.internal. Exit status: -100. Diagnostics: Container released on a *lost* node 17/01/18 17:52:00 INFO YarnAllocator: Completed container container_1483555419510_0037_01_000107 on host: ip-172-20-221-152.us-west-2.compute.internal (state: COMPLETE, exit status: -100) 17/01/18 17:52:00 WARN YarnAllocator: Container marked as failed: container_1483555419510_0037_01_000107 on host: ip-172-20-221-152.us-west-2.compute.internal. Exit status: -100. Diagnostics: Container released on a *lost* node 17/01/18 17:52:00 INFO YarnAllocator: Will request 2 executor containers, each with 7 cores and 22528 MB memory including 2048 MB overhead 17/01/18 17:52:00 INFO YarnAllocator: Canceled 0 container requests (locality no longer needed) 17/01/18 17:52:00 INFO YarnAllocator: Submitted container request (host: Any, capability: <memory:22528, vCores:7>) 17/01/18 17:52:00 INFO YarnAllocator: Submitted container request (host: Any, capability: <memory:22528, vCores:7>) 17/01/18 17:52:01 INFO YarnAllocator: Driver requested a total number of 4158 executor(s). 17/01/18 17:52:01 INFO YarnAllocator: Canceling requests for 1 executor container(s) to have a new desired total 4158 executors. 17/01/18 17:52:02 INFO YarnAllocator: Driver requested a total number of 4157 executor(s).

我看到的 Spark 执行器日志

17/01/18 17:39:39 INFO MemoryStore: MemoryStore cleared 17/01/18 17:39:39 INFO BlockManager: BlockManager stopped 17/01/18 17:39:39 INFO ShutdownHookManager: Shutdown hook called

两者都不是很丰富?

【问题讨论】:

    标签: apache-spark emr


    【解决方案1】:

    “退出状态:-100。诊断:容器在一个丢失节点上释放”告诉你该节点已经丢失

    【讨论】:

      猜你喜欢
      • 2016-11-04
      • 1970-01-01
      • 2020-07-14
      • 1970-01-01
      • 2013-06-15
      • 1970-01-01
      • 1970-01-01
      • 2016-02-08
      相关资源
      最近更新 更多