slfan1989 commented on code in PR #6189:
URL: https://github.com/apache/hadoop/pull/6189#discussion_r1365869956


##########
hadoop-yarn-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-globalpolicygenerator/src/main/java/org/apache/hadoop/yarn/server/globalpolicygenerator/GPGUtils.java:
##########
@@ -128,4 +130,16 @@ public static Map<SubClusterIdInfo, Float> 
createUniformWeights(
     }
     return weights;
   }
+
+  @VisibleForTesting

Review Comment:
   We are adding a configuration parameter for timeout, which is helpful for 
REST interfaces. In cases where a call to a ResourceManager (RM) does not 
return results as expected, it prevents situations where the system might get 
stuck.



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to