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