当前位置:网站首页>记一次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>
调整后表现

边栏推荐
- Scala110-combineByKey
- Object.prototype.hasOwnProperty() 和 in
- 了解一下new的过程发生了什么
- Solve the error caused by too large file when uploading file by asp.net
- Award winning interaction | 7.19 database upgrade plan practical Summit: industry leaders gather, why do they come?
- Spark-SQL UDF函数
- [C topic] Li Kou 88. merge two ordered arrays
- ESXI6.7.0 升级到7.0U3f(2022年7月12 更新)
- pkg_resources动态加载插件
- [comprehensive pen test] difficulty 4/5, classic application of line segment tree for character processing
猜你喜欢

6月产品升级观察站

Raft of distributed consistency protocol

L1 and L2 regularization

"Ask every day" briefly talk about JMM / talk about your understanding of JMM

Spark SQL空值Null,NaN判断和处理

Add the jar package under lib directory to the project in idea

防抖(debounce)和节流(throttle)

【JS高级】js之正则相关函数以及正则对象_02

延迟加载源码剖析:

推荐10个堪称神器的学习网站
随机推荐
Meanshift clustering-01 principle analysis
L1 and L2 regularization
如何解决Visual Studio中scanf编译报错的问题
任务、微任务、队列和调度(动画展示每一步调用)
RedisCluster搭建和扩容
API health status self inspection
Gbdt source code analysis of boosting
When using jetty to run items, an error is reported: form too large or form too many keys
Scala110-combineByKey
防抖(debounce)和节流(throttle)
Raft of distributed consistency protocol
Single or multiple human posture estimation using openpose
[Nacos] what does nacosclient do during service registration
Scala110-combineByKey
Scala111-map、flatten、flatMap
Browser workflow (Simplified)
Solve the error caused by too large file when uploading file by asp.net
Visual Studio 2022 查看类关系图
Spark 内存管理机制 新版
SQL Server forcibly disconnects