大数据hadoop入门案例6–Yarn常用命令
1.Yarn 常用命令
1.列出所有 Application
yarn application -list
2. 根据 Application 状态过滤:(所有状态:ALL、NEW、
NEW_SAVING、SUBMITTED、ACCEPTED、RUNNING、FINISHED、FAILED、KILLED)
yarn application -list -appStates ALL(状态)
3. Kill 掉 Application
yarn application -kill application_1612577921195_0001 (applicationID号)
4. 查询Application日志
yarn logs -applicationId application_1612577921195_0001(