ever CI tool you use.
From: Erick Erickson [erickerick...@gmail.com]
Sent: Wednesday, April 06, 2016 5:17 PM
To: solr-user
Subject: Re: Adding configset in SolrCloud via API
As of Solr 5.5 the bin/solr script can do this, see:
https://cwiki.apache.org/confluence/display/solr/Solr+St
Shawn, thank you. This was exactly what I was looking for.
I am already using SolrJ, so the follow two lines did the job:
ZkConfigManager configManager = new
ZkConfigManager(cloudSolrClient.getZkStateReader().getZkClient());
configManager.uploadConfigDir(Paths.get(configPath), configName);
On 4/6/2016 3:26 PM, Don Bosco Durai wrote:
> I want to automate the entire process from my Java process which is not
> running on any of the servers were SolrCloud is running. In short, I don’t
> have access to bin/solr or server/scripts/cloud-scripts, etc from my
> application. So I was
Hmmm...Not sure I understand, but it sounds like you've found the best
solution for the limitations you're experiencing...
On Wed, Apr 6, 2016 at 4:38 PM, Don Bosco Durai wrote:
> My challenge is, the server where my application is running doesn’t have
> Solr bits installed.
>
My challenge is, the server where my application is running doesn’t have Solr
bits installed.
Right now I am asking users to install (just unzip) solr on any server and I
give them a shell script to run the script from command line before starting my
application. It is inconvenient, so I
Therefore, this becomes possible:
http://stackoverflow.com/questions/525212/how-to-run-unix-shell-script-from-java-code
Hackish, but certainly doable... Given there's no API...
On Wed, Apr 6, 2016 at 3:44 PM, John Bickerstaff
wrote:
> Yup - just tested - that command
Yup - just tested - that command runs fine with Solr NOT running...
On Wed, Apr 6, 2016 at 3:41 PM, John Bickerstaff
wrote:
> If you can get to the IP addresses from your application, then there's
> probably a way... Do you mean you're firewalled off or in some other
If you can get to the IP addresses from your application, then there's
probably a way... Do you mean you're firewalled off or in some other way
unable to access the Solr box IP's from your Java application?
If you're looking to do "automated build of virtual machines" there are
some tools like
I have SolrCloud pre-installed. I need to create a collection, but before that
I need to load the config into zookeeper.
I want to automate the entire process from my Java process which is not running
on any of the servers were SolrCloud is running. In short, I don’t have access
to bin/solr
As of Solr 5.5 the bin/solr script can do this, see:
https://cwiki.apache.org/confluence/display/solr/Solr+Start+Script+Reference
It's still not quite what you're looking for, but uploading arbitrary
xml scripts through a browser is a security issue, so it's possible
there will never be an API
As of now, there's no way to do so. There were some efforts on those lines but
it's been on hold.
-Anshum
> On Apr 6, 2016, at 12:21 PM, Don Bosco Durai wrote:
>
> Is there an equivalent of server/scripts/cloud-scripts/zkcli.sh -zkhost
> $zk_host -cmd upconfig -confdir
Is there an equivalent of server/scripts/cloud-scripts/zkcli.sh -zkhost
$zk_host -cmd upconfig -confdir $config_folder -confname $config_name using
APIs?
I want to bootstrap by uploading the configs via API. Once the configs are
uploaded, I am now able to do everything else via API.
Thanks
12 matches
Mail list logo