Revert "YARN-9655. AllocateResponse in FederationInterceptor lost applicationPriority. (hunshenshi via wwei) closes apache/hadoop#1023"

This reverts commit 5e7caf128719aac7d16d0efc8334b3b5a4b01e89.
This commit is contained in:
Weiwei Yang 2019-06-29 00:29:17 +08:00
parent 5e7caf1287
commit f09c31a97e

View File

@ -1446,11 +1446,6 @@ public class FederationInterceptor extends AbstractRequestInterceptor {
} }
} }
if (otherResponse.getApplicationPriority() != null) {
homeResponse.setApplicationPriority(
otherResponse.getApplicationPriority());
}
homeResponse.setNumClusterNodes( homeResponse.setNumClusterNodes(
homeResponse.getNumClusterNodes() + otherResponse.getNumClusterNodes()); homeResponse.getNumClusterNodes() + otherResponse.getNumClusterNodes());