pySpark:所需的执行程序内存

问题描述

当我在 pyspark 上尝试 conf.set("spark.executor.memory","42g") 时,我收到这条消息“IllegalArgumentException: u"required executor memory (43008+384 MB) is above the max threshold (16384 MB) of this cluster! Please check the values of 'yarn.scheduler.maximum-allocation-mb' and/or 'yarn.nodemanager.resource.memory-mb'."

这是集群hadoop的配置

3 个名称节点,每个节点 256 g // 2 个边注,每个 128 g // 6 个从节点,每个节点 256 g // 和 ambari ranger hdf 16 g

我知道问题是 ambari ranger hdf 如何只有 16 g,但确实存在不考虑集群中的 ambari ranger 的解决方案。

解决方法

暂无找到可以解决该程序问题的有效方法,小编努力寻找整理中!

如果你已经找到好的解决方法,欢迎将解决方案带上本链接一起发送给小编。

小编邮箱:dio#foxmail.com (将#修改为@)