You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: hadoop-yarn-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-globalpolicygenerator/src/main/java/org/apache/hadoop/yarn/server/globalpolicygenerator/GPGPolicyFacade.java
+2Lines changed: 2 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -95,6 +95,7 @@ public GPGPolicyFacade(FederationStateStoreFacade stateStore,
95
95
*
96
96
* @param queueName the name of the queue we want the policy manager for.
97
97
* @return the policy manager responsible for the queue policy.
98
+
* @throws YarnException exceptions from yarn servers.
Copy file name to clipboardExpand all lines: hadoop-yarn-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-globalpolicygenerator/src/main/java/org/apache/hadoop/yarn/server/globalpolicygenerator/GPGUtils.java
Copy file name to clipboardExpand all lines: hadoop-yarn-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-globalpolicygenerator/src/main/java/org/apache/hadoop/yarn/server/globalpolicygenerator/policygenerator/GlobalPolicy.java
+2Lines changed: 2 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -50,6 +50,8 @@ public Configuration getConf() {
50
50
* Delegating this responsibility to the PolicyGenerator enables us to avoid
51
51
* duplicate calls to the same * endpoints as the GlobalPolicy is invoked
Copy file name to clipboardExpand all lines: hadoop-yarn-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-globalpolicygenerator/src/main/java/org/apache/hadoop/yarn/server/globalpolicygenerator/policygenerator/PolicyGenerator.java
+13-3Lines changed: 13 additions & 3 deletions
Original file line number
Diff line number
Diff line change
@@ -62,11 +62,14 @@ public class PolicyGenerator implements Runnable, Configurable {
62
62
63
63
// Global policy instance
64
64
@VisibleForTesting
65
-
protectedGlobalPolicypolicy;
65
+
privateGlobalPolicypolicy;
66
66
67
67
/**
68
68
* The PolicyGenerator periodically reads SubCluster load and updates
Copy file name to clipboardExpand all lines: hadoop-yarn-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-globalpolicygenerator/src/test/java/org/apache/hadoop/yarn/server/globalpolicygenerator/policygenerator/TestPolicyGenerator.java
0 commit comments