[
https://issues.apache.org/jira/browse/SOLR-14880?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Alexandre Rafalovitch resolved SOLR-14880.
------------------------------------------
Fix Version/s: master (9.0)
Resolution: Fixed
Messed up the description line during merge. This is not just an update, but
full fix for core creation from command line when coreRootDirectory is defined.
Previously, it failed with an obscure message if parameter was present in
solr.xml
> bin/solr create_core should work when coreRootDirectory is defined
> ------------------------------------------------------------------
>
> Key: SOLR-14880
> URL: https://issues.apache.org/jira/browse/SOLR-14880
> Project: Solr
> Issue Type: Bug
> Security Level: Public(Default Security Level. Issues are Public)
> Components: SolrCLI
> Reporter: Alexandre Rafalovitch
> Assignee: Alexandre Rafalovitch
> Priority: Major
> Fix For: master (9.0)
>
> Time Spent: 1h
> Remaining Estimate: 0h
>
> If coreRootDirectory is defined in solr.xml, new core creation command fails
> (in standalone Solr).
> Looking at the code, it tries to populate solr_home, even if the core should
> go somewhere else. So, when the actual core creation command is called, it
> cannot find its pre-populated files and bails with
> bq. ERROR: Error CREATEing SolrCore 'test3': Unable to create core [test3]
> Caused by: Can't find resource 'solrconfig.xml' in classpath or '/tmp/test3'
--
This message was sent by Atlassian Jira
(v8.3.4#803005)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]