为了账号安全,请及时绑定邮箱和手机立即绑定

如何kill hadoop mr

如何kill hadoop mr

叮当猫咪 2018-12-31 20:00:42
如何kill hadoop mr
查看完整描述

1 回答

?
LEATH

TA贡献1936条经验 获得超6个赞

列出当前hadoop正在执行的jobs:
[hadoop@192.168.10.11 hadoop-0.20.2-cdh3u3]$ hadoop job -list
10 jobs currently running
JobId State StartTime UserName Priority SchedulingInfo
job_201212111628_11166 1 1375083632268 dbs NORMAL NA
job_201212111628_11219 1 1375280297644 dbs NORMAL NA
job_201212111628_11512 1 1375846914268 dbs NORMAL NA
job_201212111628_11538 1 1375885079046 dbs NORMAL NA
job_201212111628_11727 1 1376489879837 dbs NORMAL NA
job_201212111628_11930 1 1377094858657 dbs NORMAL NA
job_201212111628_12094 1 1377534049419 dbs NORMAL NA
job_201212111628_12097 1 1377569500240 dbs NORMAL NA
job_201212111628_12099 1 1377569535886 dbs NORMAL NA
job_201212111628_12100 1 1377569573432 dbs NORMAL NA

杀掉job: job_201212111628_11166
[hadoop@192.168.10.11 bin]$ ./hadoop job -kill job_201212111628_11166
Killed job job_201212111628_11166
[hadoop@192.168.10.11 bin]$ hadoop job -list
9 jobs currently running
JobId State StartTime UserName Priority SchedulingInfo
job_201212111628_11219 1 1375280297644 dbs NORMAL NA
job_201212111628_11512 1 1375846914268 dbs NORMAL NA
job_201212111628_11538 1 1375885079046 dbs NORMAL NA
job_201212111628_11727 1 1376489879837 dbs NORMAL NA
job_201212111628_11930 1 1377094858657 dbs NORMAL NA
job_201212111628_12094 1 1377534049419 dbs NORMAL NA
job_201212111628_12097 1 1377569500240 dbs NORMAL NA
job_201212111628_12099 1 1377569535886 dbs NORMAL NA
job_201212111628_12100 1 1377569573432 dbs NORMAL NA



查看完整回答
反对 回复 2019-01-15
  • 1 回答
  • 0 关注
  • 885 浏览
慕课专栏
更多

添加回答

举报

0/150
提交
取消
意见反馈 帮助中心 APP下载
官方微信