当前位置: 首页 > article >正文

Container killed by YARN for exceeding memory limits

Bug信息

WARN TaskSetManager: Lost task 49.2 in stage 6.0 (TID xxx, 
xxx.xxx.xxx.compute.internal): ExecutorLostFailure (executor 16 exited caused by one
 of the running tasks) Reason: Container killed by YARN for exceeding memory limits. 
 18 GB of 18 GB physical memory used. Consider boosting 
 spark.yarn.executor.memoryOverhead or disabling yarn.nodemanager.vmem-check-enabled...

Bug本质原因

Yarn的nodemanager中某个container内存不够了,换句话说就是这个container中的数据太大了,超出它的内存上限了。
那么这个container内存上限又是在哪控制的呢?得了解一下Yarn资源相关的参数。

Yarn资源相关参数

  • yarn.nodemanager.resource.memory-mb
    每个NodeManager可以供yarn调度(分配给container)的物理内存,单位MB。
  • yarn.nodemanager.resource.cpu-vcores
    每个NodeManager可以供yarn调度(分配给container)的vcore个数。
  • yarn.scheduler.maximum-allocation-mb
    每个container能够申请到的最大内存。
  • yarn.scheduler.minimum-all

http://www.kler.cn/a/37433.html

相关文章:

  • Xcode doesn’t support iPhone’s iOS 15.7.3 (19H307).
  • kafka(一)
  • Databricks 入门之sql(一)基础查询
  • layui入门增删改查
  • Winform实现简历生成器(Excel版)
  • 《消失的她》豆瓣短评数据分析
  • 《刷题2》场景模拟
  • 自学网络安全(黑客)
  • docker dockerfile部署contos7、nginx
  • 相机图像质量研究(2)ISP专用平台调优介绍
  • 2023 node 接入腾讯云短信服务,实现发送短信功能
  • SpringCloud微服务(三)RabbitMQ、SpringAMQP、elasticsearch、DSL、MQ、ES详细介绍
  • webpack项目和vue项目发布,浏览器存在缓存
  • 阿里云服务器安装mysql并用idea连接
  • 5.EFLK(ELK+filebeat)+filter过滤
  • (数学)+(二分)
  • C++ Primer Plus笔记: 2023.07.14
  • 图像分类论文阅读
  • ubuntu无法定位软件包 tfpd-hpa
  • Jupyter Notebook 的快捷键