纱线顶部命令解释

lin*_*aon 5 hadoop-yarn apache-spark

有人可以解释这个yarn top命令的输出吗?我的意思是这些快捷方式(#CONT #RCONT VCORES RVCORES MEM RMEM VCORESECS MEMSECS %PROGR TIME NAME)到底意味着什么以及这些数字是如何计算的?

Dyn*_* Fu 9

我有同样的问题,所以在代码库中搜索并找到TopCLI.java

APPID     | ApplicationId of the application, e.g. application_1614636765551_1548
USER      | user e.g. hadoop
TYPE      | application's Type,  e.g. spark
QUEUE     | to which the application was submitted
PRIORITY  | Application's priority, e.g. 0=VERY_HIGH, see JobPriority.java
CONT      | the number of used containers
RCONT     | the number of reserved containers
VCORES    | the used Resource - virtual cores
RVCORES   | the reserved Resource - virtual cores
MEM       | the used Resource - memory in GB
RMEM      | the resevered Resource - memroy in GB
VCORESECS | the aggregated number of vcores that the application has allocated times the number of seconds the application has been running.
MEMSECS   | the aggregated amount of memory (in megabytes) the application has allocated times the number of seconds the application has been running.
PROGRESS  | application's progress
TIME      | application running time in "dd:HH:mm"
NAME      | application name
Run Code Online (Sandbox Code Playgroud)