public static String readConfigName(SolrZkClient zkClient, String collection) throws KeeperException, InterruptedException { return DELEGATE.readConfigName(zkClient, collection); }
public static String readConfigName(SolrZkClient zkClient, String collection) throws KeeperException, InterruptedException { return DELEGATE.readConfigName(zkClient, collection); }
String configName = zki.readConfigName(zkClient, options.collection); File tmpSolrHomeDir = zki.downloadConfigDir(zkClient, configName, options.useZkSolrConfig); SolrOutputFormat.setupSolrHomeCache(tmpSolrHomeDir, job);
SolrZkClient zkClient = zki.getZkClient(options.zkHost); try { String configName = zki.readConfigName(zkClient, options.collection); File tmpSolrHomeDir = zki.downloadConfigDir(zkClient, configName); SolrOutputFormat.setupSolrHomeCache(tmpSolrHomeDir, job);