PrabhuJoseph commented on code in PR #4546: URL: https://github.com/apache/hadoop/pull/4546#discussion_r919636297
########## hadoop-yarn-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-nodemanager/src/test/java/org/apache/hadoop/yarn/server/nodemanager/recovery/TestNMLeveldbStateStoreService.java: ########## @@ -1756,6 +1756,19 @@ public void testStateStoreForResourceMapping() throws IOException { resources = rcs.getResourceMappings().getAssignedResources("numa"); Assert.assertEquals(numaRes, resources); Assert.assertEquals(numaRes, resourceMappings.getAssignedResources("numa")); + // test removing numa resources from state store + stateStore.releaseAssignedResources(containerId, "numa"); + restartStateStore(); Review Comment: Why restartStateStore is needed here. -- 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: common-issues-unsubscr...@hadoop.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: common-issues-unsubscr...@hadoop.apache.org For additional commands, e-mail: common-issues-h...@hadoop.apache.org