___________________________________________________________
List all the submitted jobs since the start of the cluster with the following
command:
hadoop job -list all
hduser@nn1:/usr/local/hdpmetaxxcache/hadoop/bin$ hadoop job -list all
Warning: $HADOOP_HOME is deprecated.
0 jobs submitted
States are:
Running : 1 Succeded : 2 Failed : 3 Prep : 4
JobId State StartTime UserName Priority SchedulingInfo
hduser@nn1:/usr/local/hdpmetaxxcache/hadoop/bin$
________________________________________________________________
We can check the status of the default queue with the following command: hadoop
queue -list
Queue Operations
=====================
default submit-job,administer-jobs
hduser@nn1:/usr/local/hdpmetaxxcache/hadoop/bin$
_______________________________________________________________
Show all the jobs in the default queue using the following command:
hadoop queue -info default -showJobs
The priority of the job will be HIGH as shown in the following output:
With the job status command, we will get the following output:
The Killed : 5 information is not in the original output, I put it there according
to the state of the killed job job_201302152353_0004.