How will the Fair Scheduler handle more than one Job?

0 votes
I have a Hadoop cluster running with the Fail Scheduler enabled. There are currently no jobs running on the cluster. I submit a job A, so that only job A is running on the cluster. A while later, I submit another job B. Now job A and Job B are running on the cluster al the same time. My question is how will the Fair' Scheduler handle these two Jobs?
Aug 16, 2018 in Big Data Hadoop by Shubham
• 13,290 points
41 views

1 answer to this question.

0 votes
In your case when job B gets submitted, it will get assigned tasks, while job A continues to run with fewer tasks.
Fair scheduling is a method of assigning resources to jobs such that all jobs get, on average, an equal share of resources over time. When there is a single job running, that job uses the entire cluster. When other jobs are submitted, tasks slots that free up are assigned to the new jobs, so that each job gets roughly the same amount of CPU time.

Hope this will help.
answered Aug 16, 2018 by nitinrawat895
• 10,670 points

Related Questions In Big Data Hadoop

0 votes
1 answer
0 votes
1 answer

How to read more than one files in Apache Spark?

Try this: val text = sc.wholeTextFiles("student/*") text.collect() READ MORE

answered Dec 11, 2018 in Big Data Hadoop by Omkar
• 67,380 points
250 views
+3 votes
0 answers
0 votes
11 answers
0 votes
1 answer

Hadoop dfs -ls command?

In your case there is no difference ...READ MORE

answered Mar 16, 2018 in Big Data Hadoop by kurt_cobain
• 9,240 points
975 views
0 votes
1 answer

Hadoop Mapreduce word count Program

Firstly you need to understand the concept ...READ MORE

answered Mar 16, 2018 in Data Analytics by nitinrawat895
• 10,670 points
2,677 views
0 votes
1 answer

How to get started with Hadoop?

Well, hadoop is actually a framework that ...READ MORE

answered Mar 21, 2018 in Big Data Hadoop by coldcode
• 2,020 points
82 views
0 votes
10 answers

hadoop fs -put command?

put syntax: put <localSrc> <dest> copy syntax: copyFr ...READ MORE

answered Dec 7, 2018 in Big Data Hadoop by Aditya
13,283 views
0 votes
1 answer
0 votes
1 answer