K0K0V0K commented on code in PR #8033:
URL: https://github.com/apache/hadoop/pull/8033#discussion_r2441847005
##########
hadoop-yarn-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-resourcemanager/src/test/java/org/apache/hadoop/yarn/server/resourcemanager/federation/TestFederationRMStateStoreService.java:
##########
@@ -199,10 +190,10 @@ private void explicitFailover(MockRM rm) throws
IOException {
stateStore = rm.getFederationStateStoreService().getStateStoreClient();
}
- private void checkClusterMetricsInfo(String capability, int numNodes)
- throws JAXBException {
- ClusterMetricsInfo clusterMetricsInfo = jsonUnmarshaller.unmarshalFromJSON(
- new StringReader(capability), ClusterMetricsInfo.class);
+ private void checkClusterMetricsInfo(String capability, int numNodes) {
+ ClusterMetricsInfo clusterMetricsInfo = fromJson(capability,
ClusterMetricsInfo.class);
+ System.err.println(capability);
+ System.err.println(clusterMetricsInfo.getTotalNodes());
Review Comment:
Thanks!
I used these for the development but they should be removed.
--
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]