Yarn 日常操作记录

Yarn 基本操作

1,yarn top
类似linux里的top命令,查看正在运行的程序资源使用情况

2, yarn queue -status
root.users.xxxx 查看指定queue使用情况

3,yarn application -list -appStates 【ALL,NEW,NEW_SAVING,SUBMITTED,ACCEPTED,RUNNING,FINISHED,FAILED,KILLED】yarn application -list -appTypes [SUBMITTED, ACCEPTED, RUNNING]查看app状态yarn application -movetoqueue application_1528080031923_0067 -queue root.users.xxx移动app到对应的队列 yarn application -kill application_1528080031923_0067kill掉appyarn application -status application_1528080031923_0067查看app状态

4,yarn application attempt -list application_1528080031923_0064
查看app尝试信息

你可能感兴趣的:(Yarn 日常操作记录)