private HelixManager buildHelixManager(Config config, String zkConnectionString) {
    String helixClusterName = config.getString(ServiceConfigKeys.HELIX_CLUSTER_NAME_KEY);
    String helixInstanceName = ConfigUtils.getString(config, ServiceConfigKeys.HELIX_INSTANCE_NAME_KEY,
        GobblinServiceManager.class.getSimpleName());

    LOGGER.info("Creating Helix cluster if not already present [overwrite = false]: " + zkConnectionString);
    HelixUtils.createGobblinHelixCluster(zkConnectionString, helixClusterName, false);

    return HelixUtils.buildHelixManager(helixInstanceName, helixClusterName, zkConnectionString);
  }
private HelixManager buildHelixManager ( Config config , String zkConnectionString ) { String helixClusterName = config . getString ( ServiceConfigKeys . HELIX_CLUSTER_NAME_KEY ) ; String helixInstanceName = ConfigUtils . getString ( config , ServiceConfigKeys . HELIX_INSTANCE_NAME_KEY , GobblinServiceManager . class . getSimpleName ( ) ) ; LOGGER . info ( "Creating Helix cluster if not already present [overwrite = false]: " + zkConnectionString ) ; HelixUtils . createGobblinHelixCluster ( zkConnectionString , helixClusterName , false ) ; return HelixUtils . buildHelixManager ( helixInstanceName , helixClusterName , zkConnectionString ) ; }
Build the {@link HelixManager} for the Service Master.