jay vyas created SOLR-6201:
------------------------------
Summary: Fail when multiple DirectoryFactory instances are
specified.
Key: SOLR-6201
URL: https://issues.apache.org/jira/browse/SOLR-6201
Project: Solr
Issue Type: Bug
Components: SolrCloud
Reporter: jay vyas
In SOLR 4.4 and possibly higher Its possible to have multiple directory
factories defined. This can become very problematic because, in a large xml
file, it is tricky to determine which file system is being used, in case
someone appends an alternate file system at the end. The result : Core files
are stored in a different location.
{noformat}
<directoryFactory name="DirectoryFactory"
class="org.apache.solr.core.HdfsDirectoryFactory">
....
</directoryFactory>
<directoryFactory name="DirectoryFactory2"
class="my.company.CustomDirectoryFactory">
....
</directoryFactory>
{noformat}
It would be better if the directoryFactory failed when multiple factories were
defined, since clearly, this is a user error which will result in
non-deterministic core behaviour (at best).
--
This message was sent by Atlassian JIRA
(v6.2#6252)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]