应广东联通项目的需求,近日bm增加了yarn队列监控,监控最小粒度到队列和用户。
使用过程中,局方提出指标具体含义的问题,这些指标的含义官方没有具体介绍,最好在hortonworks的介绍文档中找到,分享如下。
yarn pending reserved allocate
Containers •
Allocated – Containers which have been created with requested resources. •
Pending – Containers, whose resources will become available and are pending creation. •
Reserved – Containers, whose resources are not yet available.
Examples 10 GB Cluster •
Request three 5GB containers • 2 allocated, 1 pending. •
Request three 4GB containers • 2 allocated, 1 reserved (2GB)
Applications • Submitted – Application requests made to YARN. • Running – Application with Masters which have been created and are running. • Pending – Application requests which are pending creation. • Completed – Applications which have completed running. They could have been successful, killed or failed. • Killed – Applications which have been terminated by user • Failed – Applications which have failed to run due to internal failures.