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 @@ protected void mergeAllocateResponse(AllocateResponse homeResponse,
|
||||
}
|
||||
}
|
||||
|
||||
if (otherResponse.getApplicationPriority() != null) {
|
||||
homeResponse.setApplicationPriority(
|
||||
otherResponse.getApplicationPriority());
|
||||
}
|
||||
|
||||
homeResponse.setNumClusterNodes(
|
||||
homeResponse.getNumClusterNodes() + otherResponse.getNumClusterNodes());
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user