-
列出所有Application :
yarn application -listscala# 可以根据状态过滤:ALL、NEW、NEW_SAVING、SUBMITTED、ACCEPTED、RUNNING、FINISHED、FAILED、KILLED yarn application -list -appStates FINISHED application_1652832924022_57402 DDOS-Detect-Engine_Ver000 SPARK root tech97 RUNNING UNDEFINED 10% http://10.230.20.37:4040 application_1652832924022_57401 ETL_dns SPARK root tech97 RUNNING UNDEFINED 10% http://10.230.20.37:4041 application_1652832924022_57341 web_stat SPARK root tech97 RUNNING UNDEFINED 10% http://10.230.20.3:41071 -
查看尝试运行的应用
yarn applicationattempt -list application_1612577921195_0001scala23/06/24 10:38:21 INFO impl.TimelineClientImpl: Timeline service address: http://maxc84:8188/ws/v1/timeline/ 23/06/24 10:38:22 INFO client.ConfiguredRMFailoverProxyProvider: Failing over to rm2 Total number of application attempts :1 ApplicationAttempt-Id State AM-Container-Id Tracking-URL appattempt_1652832924022_57401_000001 FINISHED container_e18_1652832924022_57401_01_000001 http://maxc85:8088/proxy/application_1652832924022_57401/ -
杀死指定应用 :
yarn application -kill application_1612577921195_0001 -
查看指定应用日志 :
yarn logs -applicationId application_1612577921195_0001 -
查看节点状态 :
yarn node -list -allscalaTotal Nodes:35 Node-Id Node-State Node-Http-Address Number-of-Running-Containers maxc8:45454 RUNNING maxc8:8042 3 maxc3:45454 RUNNING maxc3:8042 7 maxc18:45454 RUNNING maxc18:8042 5 maxc25:45454 RUNNING maxc25:8042 3 maxc16:45454 RUNNING maxc16:8042 5 maxc34:45454 RUNNING maxc34:8042 5 maxc22:45454 RUNNING maxc22:8042 4 maxc31:45454 RUNNING maxc31:8042 1 maxc13:45454 RUNNING maxc13:8042 7 -
查看队列状态 :
yarn queue -status wascala[root@maxc84 ~]# yarn queue -status wa 23/06/24 10:58:58 INFO impl.TimelineClientImpl: Timeline service address: http://maxc84:8188/ws/v1/timeline/ 23/06/24 10:58:59 INFO client.ConfiguredRMFailoverProxyProvider: Failing over to rm2 Queue Information : Queue Name : tech97 State : RUNNING Capacity : 50.0% Current Capacity : 41.7% Maximum Capacity : 70.0% Default Node Label expression : Accessible Node Labels : *
【Hadoop】Yarn 任务管理指令
方大刚2332024-02-18 9:46
相关推荐
大大大大晴天6 小时前
聊聊Starrocks的数据导入与避坑实践weikecms6 小时前
星巴克API接口,星巴克点餐接口开发派拉软件6 小时前
派拉AIGS应用场景解析:在客户实际环境中,AI Agent如何做到“可控、可管、可审“appsvip6 小时前
企业内部沟通社区怎么搭建?从选型到落地的完整方案汇策研习社7 小时前
双指标共振交易体系:GMMA趋势骨架 + MACD动能验证实战全解光电的一只菜鸡7 小时前
小白从零开始学agent(二)——如何高效编写 Prompt 与 SkillG31135422737 小时前
大模型不可用时,业务还能不能继续:企业需要设计降级方案haoyun6543218 小时前
一文理清CRM:从基础概念到落地应用完整指南办公室马主任8 小时前
华南机械加工企业选MES服务商怎么选?独行侠影a8 小时前
SpringBoot 分布式锁实战:Redisson 解决订单超卖并发问题