Merge r1571924 from trunk: YARN-1561. Fix a generic type warning in FairScheduler. (Chen He via junping_du)
git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/branches/branch-2@1571927 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
c11a2df1e4
commit
9aefa59ace
|
@ -15,6 +15,8 @@ Release 2.5.0 - UNRELEASED
|
||||||
|
|
||||||
YARN-1678. Fair scheduler gabs incessantly about reservations (Sandy Ryza)
|
YARN-1678. Fair scheduler gabs incessantly about reservations (Sandy Ryza)
|
||||||
|
|
||||||
|
YARN-1561. Fix a generic type warning in FairScheduler. (Chen He via junping_du)
|
||||||
|
|
||||||
OPTIMIZATIONS
|
OPTIMIZATIONS
|
||||||
|
|
||||||
BUG FIXES
|
BUG FIXES
|
||||||
|
|
|
@ -175,7 +175,7 @@ public class FairScheduler extends AbstractYarnScheduler {
|
||||||
protected WeightAdjuster weightAdjuster; // Can be null for no weight adjuster
|
protected WeightAdjuster weightAdjuster; // Can be null for no weight adjuster
|
||||||
protected boolean continuousSchedulingEnabled; // Continuous Scheduling enabled or not
|
protected boolean continuousSchedulingEnabled; // Continuous Scheduling enabled or not
|
||||||
protected int continuousSchedulingSleepMs; // Sleep time for each pass in continuous scheduling
|
protected int continuousSchedulingSleepMs; // Sleep time for each pass in continuous scheduling
|
||||||
private Comparator nodeAvailableResourceComparator =
|
private Comparator<NodeId> nodeAvailableResourceComparator =
|
||||||
new NodeAvailableResourceComparator(); // Node available resource comparator
|
new NodeAvailableResourceComparator(); // Node available resource comparator
|
||||||
protected double nodeLocalityThreshold; // Cluster threshold for node locality
|
protected double nodeLocalityThreshold; // Cluster threshold for node locality
|
||||||
protected double rackLocalityThreshold; // Cluster threshold for rack locality
|
protected double rackLocalityThreshold; // Cluster threshold for rack locality
|
||||||
|
|
Loading…
Reference in New Issue