hadoop-common-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From w...@apache.org
Subject [hadoop] branch trunk updated: Revert "YARN-9655. AllocateResponse in FederationInterceptor lost applicationPriority. (hunshenshi via wwei) closes apache/hadoop#1023"
Date Fri, 28 Jun 2019 16:29:48 GMT
This is an automated email from the ASF dual-hosted git repository.

wwei pushed a commit to branch trunk
in repository https://gitbox.apache.org/repos/asf/hadoop.git


The following commit(s) were added to refs/heads/trunk by this push:
     new f09c31a  Revert "YARN-9655. AllocateResponse in FederationInterceptor lost applicationPriority.
(hunshenshi via wwei) closes apache/hadoop#1023"
f09c31a is described below

commit f09c31a97e1646a1089e87d859040ebfe0c047f5
Author: Weiwei Yang <wwei@apache.org>
AuthorDate: Sat Jun 29 00:29:17 2019 +0800

    Revert "YARN-9655. AllocateResponse in FederationInterceptor lost applicationPriority.
(hunshenshi via wwei) closes apache/hadoop#1023"
    
    This reverts commit 5e7caf128719aac7d16d0efc8334b3b5a4b01e89.
---
 .../yarn/server/nodemanager/amrmproxy/FederationInterceptor.java     | 5 -----
 1 file changed, 5 deletions(-)

diff --git a/hadoop-yarn-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-nodemanager/src/main/java/org/apache/hadoop/yarn/server/nodemanager/amrmproxy/FederationInterceptor.java
b/hadoop-yarn-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-nodemanager/src/main/java/org/apache/hadoop/yarn/server/nodemanager/amrmproxy/FederationInterceptor.java
index 5d165c9..992dc82 100644
--- a/hadoop-yarn-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-nodemanager/src/main/java/org/apache/hadoop/yarn/server/nodemanager/amrmproxy/FederationInterceptor.java
+++ b/hadoop-yarn-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-nodemanager/src/main/java/org/apache/hadoop/yarn/server/nodemanager/amrmproxy/FederationInterceptor.java
@@ -1446,11 +1446,6 @@ public class FederationInterceptor extends AbstractRequestInterceptor
{
       }
     }
 
-    if (otherResponse.getApplicationPriority() != null) {
-      homeResponse.setApplicationPriority(
-          otherResponse.getApplicationPriority());
-    }
-
     homeResponse.setNumClusterNodes(
         homeResponse.getNumClusterNodes() + otherResponse.getNumClusterNodes());
 


---------------------------------------------------------------------
To unsubscribe, e-mail: common-commits-unsubscribe@hadoop.apache.org
For additional commands, e-mail: common-commits-help@hadoop.apache.org


Mime
View raw message