You are viewing a plain text version of this content. The canonical link for it is here.
Posted to common-commits@hadoop.apache.org by in...@apache.org on 2022/08/04 17:16:17 UTC
[hadoop] branch trunk updated (0aa08ef543a -> 6f7c4c74eaa)
This is an automated email from the ASF dual-hosted git repository.
inigoiri pushed a change to branch trunk
in repository https://gitbox.apache.org/repos/asf/hadoop.git
from 0aa08ef543a HADOOP-18363. Fix bug preventing hadoop-metrics2 from emitting metrics to > 1 Ganglia servers (#4627)
add 6f7c4c74eaa YARN-11235. Refactor Policy Code and Define getReservationHomeSubcluster (#4656)
No new revisions were added by this update.
Summary of changes:
.../federation/policies/FederationPolicyUtils.java | 6 +-
.../federation/policies/RouterPolicyFacade.java | 137 ++++++++++++++-------
.../policies/router/AbstractRouterPolicy.java | 110 +++++++++++++++++
.../policies/router/FederationRouterPolicy.java | 13 ++
.../policies/router/HashBasedRouterPolicy.java | 51 +-------
.../policies/router/LoadBasedRouterPolicy.java | 30 +----
.../policies/router/LocalityRouterPolicy.java | 57 ++++-----
.../policies/router/PriorityRouterPolicy.java | 31 +----
.../policies/router/RejectRouterPolicy.java | 38 ++----
.../policies/router/UniformRandomRouterPolicy.java | 47 +------
.../router/WeightedRandomRouterPolicy.java | 35 ++----
.../store/records/GetSubClustersInfoResponse.java | 6 +-
.../impl/pb/GetSubClustersInfoResponsePBImpl.java | 6 +-
.../policies/BaseFederationPoliciesTest.java | 65 +++++++++-
.../policies/router/BaseRouterPoliciesTest.java | 11 ++
.../policies/router/TestHashBasedRouterPolicy.java | 4 +-
.../policies/router/TestLoadBasedRouterPolicy.java | 40 +++---
.../policies/router/TestLocalityRouterPolicy.java | 5 +-
.../policies/router/TestPriorityRouterPolicy.java | 12 +-
.../policies/router/TestRejectRouterPolicy.java | 5 +-
.../router/TestUniformRandomRouterPolicy.java | 15 ++-
.../router/TestWeightedRandomRouterPolicy.java | 14 +--
.../utils/FederationPoliciesTestUtil.java | 45 +++++++
.../router/webapp/FederationInterceptorREST.java | 15 +--
24 files changed, 454 insertions(+), 344 deletions(-)
---------------------------------------------------------------------
To unsubscribe, e-mail: common-commits-unsubscribe@hadoop.apache.org
For additional commands, e-mail: common-commits-help@hadoop.apache.org