lakshmi-manasa-g commented on a change in pull request #938: SAMZA-1531: Support run.id in standalone for batch processing. URL: https://github.com/apache/samza/pull/938#discussion_r265688837
########## File path: samza-core/src/main/java/org/apache/samza/execution/LocalJobPlanner.java ########## @@ -107,10 +111,11 @@ private void createStreams(String planId, List<StreamSpec> intStreams, StreamMan LOG.info("A single processor must create the intermediate streams. Processor {} will attempt to acquire the lock.", uid); // Move the scope of coordination utils within stream creation to address long idle connection problem. // Refer SAMZA-1385 for more details - JobCoordinatorConfig jcConfig = new JobCoordinatorConfig(userConfig); - String coordinationId = new ApplicationConfig(userConfig).getGlobalAppId() + APPLICATION_RUNNER_PATH_SUFFIX; - CoordinationUtils coordinationUtils = - jcConfig.getCoordinationUtilsFactory().getCoordinationUtils(coordinationId, uid, userConfig); + if(coordinationUtils == null) { + JobCoordinatorConfig jcConfig = new JobCoordinatorConfig(appDesc.getConfig()); + String coordinationId = new ApplicationConfig(appDesc.getConfig()).getGlobalAppId() + CoordinationConstants.APPLICATION_RUNNER_PATH_SUFFIX; Review comment: done. ---------------------------------------------------------------- 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 With regards, Apache Git Services