shanthoosh commented on a change in pull request #1079: SAMZA-2250: Support 
large job models in standalone.
URL: https://github.com/apache/samza/pull/1079#discussion_r296907096
 
 

 ##########
 File path: 
samza-core/src/main/java/org/apache/samza/zk/ZkJobCoordinatorFactory.java
 ##########
 @@ -49,7 +49,9 @@ public JobCoordinator getJobCoordinator(String processorId, 
Config config, Metri
     String jobCoordinatorZkBasePath = getJobCoordinationZkPath(config);
     ZkUtils zkUtils = getZkUtils(config, metricsRegistry, 
jobCoordinatorZkBasePath);
     LOG.debug("Creating ZkJobCoordinator with config: {}.", config);
-    return new ZkJobCoordinator(processorId, config, metricsRegistry, zkUtils);
+    ZkMetadataStore metadataStore = new 
ZkMetadataStore(zkUtils.getKeyBuilder().getRootPath(), config, metricsRegistry);
+    metadataStore.init();
 
 Review comment:
   Sure, moved it to the Coordinator.

----------------------------------------------------------------
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

Reply via email to