hadoop mapreduce 错误 mapreduce_shuffle 不存在

问题描述

当我运行 wordcount 项目时发生错误

这是日志的一部分:

2021-07-22 16:17:09,831 错误 [ContainerLauncher #3] org.apache.hadoop.mapreduce.v2.app.launcher.ContainerLauncherImpl:container_1626941228997_0002_01_hadoop.mapreduce.v2.app.launcher.ContainerLauncherImpl 的容器启动失败。 .InvalidAuxServiceException: auxService:mapreduce_shuffle 不存在

搜索了一些答案:更改 yarn-site.xml,但它不起作用 我的yarn-site.xml:

<property>
    <name>yarn.nodemanager.aux-services</name>
    <value>mapreduce_shuffle</value>
  </property>
<property>
    <name>yarn.nodemanager.aux-services.mapreduce_shuffle.class</name>
    <value>org.apache.hadoop.mapred.ShuffleHandler</value>
</property>

解决方法

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

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

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