如果yarn nodeManager 节点启动失败,log可以去看yarn-root-nodemanager-db-23.out 文件的同级目录下的 yarn-root-nodemanager-db-23.log文件
如果日志中发现的错误如下:
The ServiceName: mapreduce.shuffle set in yarn.nodemanager.aux-services is invalid.
则修改yarn-site.xml
<name>yarn.nodemanager.aux-services</name> <value>mapreduce.shuffle</value>
改成下面的配置
<name>yarn.nodemanager.aux-services</name> <value>mapreduce_shuffle</value> // 注意是下划线