您的位置:首页 > 运维架构 > Shell

Yarn shell及application kill

2020-04-02 19:04 2121 查看

Yarn管理的MapReduce、Spark并行化任务Kill

[root@bdpcm01 ~]# yarn application -kill application_1548925847050_1635244
Killing application application_1548925847050_1635244

Yarn Shell

[root@bdpnamenodemaster ~]# yarn
Usage: yarn [--config confdir] COMMAND
where COMMAND is one of:
resourcemanager -format-state-store   deletes the RMStateStore
resourcemanager                       run the ResourceManager
Use -format-state-store for deleting the RMStateStore.
Use -remove-application-from-state-store <appId> for
removing application from RMStateStore.
nodemanager                           run a nodemanager on each slave
timelineserver                        run the timeline server
rmadmin                               admin tools
version                               print the version
jar <jar>                             run a jar file
application                           prints application(s)
report/kill application
applicationattempt                    prints applicationattempt(s)
report
container                             prints container(s) report
node                                  prints node report(s)
queue                                 prints queue information
logs                                  dump container logs
classpath                             prints the class path needed to
get the Hadoop jar and the
required libraries
daemonlog                             get/set the log level for each
daemon
top                                   run cluster usage tool
or
CLASSNAME                             run the class named CLASSNAME

Most commands print help when invoked w/o parameters.
  • 点赞
  • 收藏
  • 分享
  • 文章举报
ddttoop 发布了68 篇原创文章 · 获赞 3 · 访问量 1108 私信 关注
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: