My scala app needs to interact with solr cloud via zookeeper.I need to upload the solr configuration files(conf folder) to the zookeeper. It is done using the following shell command :
cloud-scripts/zkcli.sh -cmd upconfig -zkhost zkHostAddress:2181 -d solr/collection/conf/ -n collection
I need this config upload to be done from my scala app itself and not use this shell command . How can I achieve this ?