如何找出所有队列配置参数hadoop

How to find out all queue configuration parameters hadoop

我们正在为资源 allocation/management 使用 CapacityScheduler。我正在努力找出队列的所有配置参数,我在下面的命令中尝试了 returns 只有几个参数。

hadoop queue -info xyzqueue

输出

Queue Name : root.xyzqueue
Queue State : running
Scheduling Info : Capacity: 1.8867924, MaximumCapacity: UNDEFINED, CurrentCapacity: 0.35409614

如何找到队列 hadoop wiki 上显示的其他参数?谢谢

您应该为此使用 RM REST API。

来自https://hadoop.apache.org/docs/stable/hadoop-yarn/hadoop-yarn-site/ResourceManagerRest.html#Cluster_Scheduler_API

curl RM_URL/ws/v1/cluster/scheduler

REST API 非常全面 return。