当前位置:网站首页>记一次Yarn Required executor memeory is above the max threshold(8192MB) of this cluster!
记一次Yarn Required executor memeory is above the max threshold(8192MB) of this cluster!
2022-07-25 15:10:00 【南风知我意丿】
问题描述:
Sparn on Yarn场景下执行Spark任务时,单个executor的memeory设置超过8G就会报以下错误,这是yarn设置不合理导致的,yarn默认单个nodemanager为8G资源,这是不合理的,因此我在集群上对此做出调整。
主要日志表现:
解决方案:
修改yarn-site.xml
<property>
<description>The minimum allocation for every container request at the RM,
in MBs. Memory requests lower than this won't take effect,
and the specified value will get allocated at minimum.</description>
<name>yarn.scheduler.minimum-allocation-mb</name>
<value>2048</value>
</property>
<property>
<description>The maximum allocation for every container request at the RM,
in MBs. Memory requests higher than this won't take effect,
and will get capped to this value.</description>
<name>yarn.scheduler.maximum-allocation-mb</name>
<value>16384</value>
</property>
<property>
<description>yarn分配给nodemanager最大个核数</description>
<name>yarn.scheduler.maximum-allocation-vcores</name>
<value>16</value>
</property>
调整后表现

边栏推荐
猜你喜欢
![[Nacos] what does nacosclient do during service registration](/img/76/3c2e8f9ba19e36d9581f34fda65923.png)
[Nacos] what does nacosclient do during service registration

Boosting之GBDT源码分析

反射-笔记

"Ask every day" how locksupport realizes thread waiting and wakeup

How much memory can a program use at most?

Unable to start web server when Nacos starts

pl/sql 创建并执行oralce存储过程,并返回结果集

打开虚拟机时出现VMware Workstation 未能启动 VMware Authorization Service

Spark 内存管理机制 新版

VS2010 add WAP mobile form template
随机推荐
Automatically set the template for VS2010 and add header comments
vscode 插件篇收集
Object.prototype.hasOwnProperty() 和 in
图片的懒加载
RedisCluster搭建和扩容
spark分区算子partitionBy、coalesce、repartition
一个程序最多可以使用多少内存?
@Scheduled source code analysis
处理ORACLE死锁
iframe嵌套其它网站页面 全屏设置
System. Accessviolationexception: an attempt was made to read or write to protected memory. This usually indicates that other memory is corrupted
树莓派入门:树莓派的初始设置
LeetCode_因式分解_简单_263.丑数
记一次Spark foreachPartition导致OOM
Spark AQE
简易轮播图和打地鼠
[Android] recyclerview caching mechanism, is it really difficult to understand? What level of cache is it?
Gbdt source code analysis of boosting
Client error: invalid param endpoint is blank
Single or multiple human posture estimation using openpose