yarn 常用命令
云淡风惊
2021-11-11 PM
℃
0条
查看任务列表
yarn application -list
根据条件过滤列表
yarn application -list appStates FINISHED/KILLED/RUNNING/FAILED
查看状态
yarn applicaiton -status application_1469094096026_26612
查看applicaiton日志
yarn logs -applicationId application_1469094096026_26612
KILL 任务
yarn application -kill application_1636526547760_0014
查看container日志
yarn logs -applicationId <applicationId> containerId <containerId>
查看容器
yarn container -list <ApplicationAttemptId>
打印容器状态
yarn container status <containerId>
node节点查看
yarn node -list all
yarn rmadmin 更新配置
yarn rmadmin refreshQueues
yarn queue 查看队列
yarn queue -status <QueueName>