Skip to content

yanghaogn/JobTracker

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

JobTracker

The default scheduler of Hadoop1 cannot deal with real-time jobs, so we add the real-time property to the job conf and change the scheduling stategy to ensure the real-time jobs.Several real-time strategies are applied and each are a scheduler here.
The strategy is realized as follows:

  1. add the real-time property to the job
  2. change the JobInProgressListener, and change the job queue in this file
  3. change the method assignTasks() in Scheduler.java, add a module that kills the job which miss the deadlie
  4. make the jar and change the configuration of Hadoop1
  5. restart the Hadoop1 cluster

FIFOScheduler

The default scheduler schedules the jobs coming earlier

EDFScheduler

The job with earlier deadline will be scheduled first.

LLFScheduler

The job will be scheduled first with a less spare-time.The spare-time is the remaining computing time minus from deadline.So the remaing computing time should be estimated first.

RMScheduler

The job will be scheduled first in the workflow with a shorter period.

TSDScheduler

The jobs are divided into CPU group and I/O group, and they will be scheduled alternately

About

The real-time scheduler is realized for Hadoop1

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published