lakshmi-manasa-g commented on a change in pull request #1448: URL: https://github.com/apache/samza/pull/1448#discussion_r536450494
########## File path: samza-yarn/src/main/java/org/apache/samza/job/yarn/YarnClusterResourceManager.java ########## @@ -192,7 +193,8 @@ public YarnClusterResourceManager(Config config, JobModelManager jobModelManager clusterManagerConfig.getNumCores(), samzaAppState, state, - amClient + amClient, + new JobConfig(config).getApplicationMasterHighAvailabilityEnabled() Review comment: updated to invoke OnContainerStarted instead of OnContainersAllocated -- as that seemed to be the more appropriate one (setting job healthy etc). fixed the npe arising from not having previous attempt containers in the allocatedResources map ---------------------------------------------------------------- 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. For queries about this service, please contact Infrastructure at: us...@infra.apache.org