DBILITY

hadoop job list, kill 본문

bigdata/hadoop

hadoop job list, kill

DBILITY 2016. 11. 30. 09:55
반응형
  • version < 2.3
    [hadoop@big-master ~]$ /hadoop/bin/hadoop job -list
    2 jobs currently running
    JobId   State   StartTime       UserName        Priority        SchedulingInfo
    job_201611111652_0036   1       1480466794124   hadoop  NORMAL  NA
    job_201611111652_0037   1       1480466846472   hadoop  NORMAL  NA
    [hadoop@big-master ~]$ /hadoop/bin/hadoop job -kill job_201611111652_0036
    Killed job job_201611111652_0036​
  • version >= 2.3
    [hadoop@big-master ~]$ mapred job -list
    Total jobs:1
                      JobId      State           StartTime      UserName           Queue      Priority       UsedContainers  RsvdContainers  UsedMem         RsvdMem         NeededMem         AM info
     job_1524365361043_0004    RUNNING       1524366354839        hadoop         default        NORMAL                   31               0   32768M              0M            32768M      http://0.0.0.0:8089/proxy/application_1524365361043_0004/
    [hadoop@big-master ~]$ mapred job -kill job_1524365361043_0004
    Killed job job_1524365361043_0004

※ ResoureManager WEB-UI에서 application 선택하면 상세정보 왼쪽 상단에 Kill Application도 있음.

 

반응형
Comments