The reason why you pass the DirectoryFactory at startup is so every
collection/core that's created is automatically stored in HDFS before
solrconfig.xml is read to know that's where they should be stored.
If you prefer to only store certain collections/cores in HDFS, you would
only set those prope
Shawn, Thanks for your response. Please find my follow-up questions:
1. My understanding is that Directory Factory settings are typically at a
collection / core level. If thats the case, what is the advantage of
passing it along with the start script?
2. In your below response, did you mean that e
On 6/7/2018 7:37 AM, Greenhorn Techie wrote:
When the above settings are passed as part of start script, does that mean
whenever a new collection is created, Solr is going to store the indexes in
HDFS? But what if I upload my solrconfig.xml to ZK which contradicts with
this and contains NRTDirect
that solr start script can be passed many
arguments while starting. The example provided is as below:
bin/solr start -c
-z 10.0.0.1:2181,10.0.0.2:2181,10.0.0.3:2181/solr
-Dsolr.directoryFactory=HdfsDirectoryFactory
-Dsolr.lock.type=hdfs
-Dsolr.hdfs.home=hdfs://sandbox.hortonworks.com:8020