Example usage for org.apache.solr.cloud ZkController getZkClient

List of usage examples for org.apache.solr.cloud ZkController getZkClient

Introduction

In this page you can find the example usage for org.apache.solr.cloud ZkController getZkClient.

Prototype

public SolrZkClient getZkClient() 

Source Link

Usage

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);
}