Yarn提交job报错Failed to submit application_1675941756585_0001 to YARN : root is not a leaf queue

hadoop执行job报错提示root is not a leaf queue

大意就是没有配置节点队列

测试服务器

Yarn提交job报错Failed to submit application_1675941756585_0001 to YARN : root is not a leaf queue_第1张图片

 Yarn提交job报错Failed to submit application_1675941756585_0001 to YARN : root is not a leaf queue_第2张图片

 

Yarn提交job报错Failed to submit application_1675941756585_0001 to YARN : root is not a leaf queue_第3张图片

最近在学习hadoop,搭建集群时发现很多问题,比如yarn的RM高可用集群,很多坑,比如下面这个: root is not a leaf queue

执行job报错:root is not a leaf queue

Yarn提交job报错Failed to submit application_1675941756585_0001 to YARN : root is not a leaf queue_第4张图片

这个错误找了全网的答案,尝试了没有一个正确。

查询了很多文档,最终还是选择重新搭建一次,发现是配置少了。

解决方案:

修改yarn-site.xml配置,添加一下配置:

    
    
        The class to use as the resource scheduler.
        yarn.resourcemanager.scheduler.class
        org.apache.hadoop.yarn.server.resourcemanager.scheduler.capacity.CapacityScheduler
    

你可能感兴趣的:(yarn集群,大数据,hadoop,分布式)