YARN-9655. AllocateResponse in FederationInterceptor lost applicationPriority. (hunshenshi via wwei) closes apache/hadoop#1023
This commit is contained in:
parent
cbae241320
commit
5e7caf1287
|
@ -1446,6 +1446,11 @@ public class FederationInterceptor extends AbstractRequestInterceptor {
|
|||
}
|
||||
}
|
||||
|
||||
if (otherResponse.getApplicationPriority() != null) {
|
||||
homeResponse.setApplicationPriority(
|
||||
otherResponse.getApplicationPriority());
|
||||
}
|
||||
|
||||
homeResponse.setNumClusterNodes(
|
||||
homeResponse.getNumClusterNodes() + otherResponse.getNumClusterNodes());
|
||||
|
||||
|
|
Loading…
Reference in New Issue