Re: Moving to SolrCloud, specifying dataDir correctly

2015-12-14 Thread Jeff Wartes
Don’t set solr.data.dir. Instead, set the install dir. Something like: -Dsolr.solr.home=/data/solr -Dsolr.install.dir=/opt/solr I have many solrcloud collections, and separate data/install dirs, and I’ve never had to do anything with manual per-collection or per-replica data dirs. That said,

Re: Moving to SolrCloud, specifying dataDir correctly

2015-12-14 Thread Rahul Ramesh
We currently moved data from magnetic drive to SSD. We run Solr in cloud mode. Only data is stored in the drive configuration is stored in ZK. We start solr using the -s option specifying the data dir Command to start solr ./bin/solr start -c -h -p -z -s We followed the following steps to

Re: Moving to SolrCloud, specifying dataDir correctly

2015-12-14 Thread Shawn Heisey
On 12/14/2015 10:49 AM, Tom Evans wrote: > When I tried this in SolrCloud mode, specifying > "-Dsolr.data.dir=/mnt/solr/" when starting each node, it worked fine > for the first collection, but then the second collection tried to use > the same directory to store its index, which obviously failed.

Moving to SolrCloud, specifying dataDir correctly

2015-12-14 Thread Tom Evans
Hi all We're currently in the process of migrating our distributed search running on 5.0 to SolrCloud running on 5.4, and setting up a test cluster for performance testing etc. We have several cores/collections, and in each core's solrconfig.xml, we were specifying an empty , and specifying the

Re: Moving to SolrCloud, specifying dataDir correctly

2015-12-14 Thread Tom Evans
On Mon, Dec 14, 2015 at 1:22 PM, Shawn Heisey wrote: > On 12/14/2015 10:49 AM, Tom Evans wrote: >> When I tried this in SolrCloud mode, specifying >> "-Dsolr.data.dir=/mnt/solr/" when starting each node, it worked fine >> for the first collection, but then the second

Re: Moving to SolrCloud, specifying dataDir correctly

2015-12-14 Thread Erick Erickson
Currently, it'll be a little tedious but here's what you can do (going partly from memory)... When you create the collection, specify the special value EMPTY for createNodeSet (Solr 5.3+). Use ADDREPLICA to add each individual replica. When you do this, you can add a dataDir for each individual