List of usage examples for org.apache.solr.cloud ZkController getZkClient
public SolrZkClient getZkClient()
From source file:org.apache.sentry.tests.e2e.solr.AbstractSolrSentryTestBase.java
License:Apache License
protected void uploadConfigFileToZk(String file, String nameInZk) throws Exception { ZkController zkController = getZkController(); zkController.getZkClient().makePath(ZkController.CONFIGS_ZKNODE + "/" + CONF_DIR_IN_ZK + "/" + nameInZk, new File(file), false, true); }