Briefing Cloudera Knowledge

How will the Fair Scheduler handle these two jobs?

You have a cluster running with the fair Scheduler enabled. There are currently no jobs
running on the cluster, and you submit a job A, so that only job A is running on the cluster. A
while later, you submit Job B. now Job A and Job B are running on the cluster at the same
time. How will the Fair Scheduler handle these two jobs?

A.
When Job B gets submitted, Job A has to finish first, before job B can gets scheduled.

B.
When Job A gets submitted, it doesn’t consumes all the task slots.

C.
When Job A gets submitted, it consumes all the task slots.

D.
When Job B gets submitted, it will get assigned tasks, while job A continues to run with
fewer tasks.