I have a Hadoop cluster running Cloudera's CDH3
, Apache Hadoop's 0.20.2
equivalent. I want to restart the job-tracker as there are some jobs which are not getting killed. I tried killing them from the command line, the command executes successfully, but the jobs are still in Job Cleanup: Pending
status. Anyways I want to restart
the job-tracker
and see if that cleanup the jobs. I know the command to restart the job-tracker, but I am not sure if I need to put the name-node in safe-mode before I restart the job-tracker
.
Asked
Active
Viewed 66 times
2

Varun Risbud
- 143
- 9
1 Answers
1
You can try to kill the unwanted jobs using hadoop job -kill <Job-ID>
and check for command status echo "$?"
. If that doesn't work, Restart is the only option.
Hadoop Jobtracker and namenodes are independent components, No need to execute namenode safenode before Jobtracker restart. You can restart Jobtracker process alone.(tasktracker if required)

SachinJose
- 8,462
- 4
- 42
- 63