Basically, for users job scheduling, Hadoophad a very simple way, in past, that is FIFO scheduler which ran in order of submission. Further, it adds the ability to set a job’s priority with the help of the mapred.job.priority property or the setJobPriority() method on JobClient. So, the job scheduler chooses one with the highest priority at the time it is choosing the next job in order to run. However, with the FIFO scheduler in Hadoop, priorities do not support preemption. therefore due to a long-running low priority job which started before the high-priority job was scheduled, a high-priority job can still be blocked. So, MapReduce has more types of schedulers, like Hadoop FIFO scheduler, they are Fair Scheduler and Hadoop Capacity Scheduler.
Types of Hadoop Schedulers
3 types of schedulers which we use in Hadoop are:
– FIFO Schedulers
– CapacitySchedulers
– Fair Schedulers
Though, to learn about it in detail, follow the link: Hadoop Schedulers Tutorial – Job Scheduling in Hadoop