You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: hadoop-yarn-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-resourcemanager/src/main/java/org/apache/hadoop/yarn/server/resourcemanager/scheduler/capacity/AbstractCSQueue.java
Copy file name to clipboardExpand all lines: hadoop-yarn-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-resourcemanager/src/main/java/org/apache/hadoop/yarn/server/resourcemanager/scheduler/capacity/CSAssignment.java
Copy file name to clipboardExpand all lines: hadoop-yarn-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-resourcemanager/src/main/java/org/apache/hadoop/yarn/server/resourcemanager/scheduler/capacity/LeafQueue.java
+5-5Lines changed: 5 additions & 5 deletions
Original file line number
Diff line number
Diff line change
@@ -777,7 +777,7 @@ public synchronized CSAssignment assignContainers(Resource clusterResource,
777
777
// if our queue cannot access this node, just return
778
778
if (schedulingMode == SchedulingMode.RESPECT_PARTITION_EXCLUSIVITY
779
779
&& !accessibleToPartition(node.getPartition())) {
780
-
returnNULL_ASSIGNMENT;
780
+
returnCSAssignment.NULL_ASSIGNMENT;
781
781
}
782
782
783
783
// Check if this queue need more resource, simply skip allocation if this
@@ -789,7 +789,7 @@ public synchronized CSAssignment assignContainers(Resource clusterResource,
789
789
+ ", because it doesn't need more resource, schedulingMode="
Copy file name to clipboardExpand all lines: hadoop-yarn-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-resourcemanager/src/main/java/org/apache/hadoop/yarn/server/resourcemanager/scheduler/capacity/ParentQueue.java
+2-2Lines changed: 2 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -384,7 +384,7 @@ public synchronized CSAssignment assignContainers(Resource clusterResource,
384
384
// if our queue cannot access this node, just return
385
385
if (schedulingMode == SchedulingMode.RESPECT_PARTITION_EXCLUSIVITY
386
386
&& !accessibleToPartition(node.getPartition())) {
387
-
returnNULL_ASSIGNMENT;
387
+
returnCSAssignment.NULL_ASSIGNMENT;
388
388
}
389
389
390
390
// Check if this queue need more resource, simply skip allocation if this
@@ -396,7 +396,7 @@ public synchronized CSAssignment assignContainers(Resource clusterResource,
396
396
+ ", because it doesn't need more resource, schedulingMode="
0 commit comments