You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@lucene.apache.org by "Alexandre Rafalovitch (Jira)" <ji...@apache.org> on 2020/09/20 02:17:00 UTC

[jira] [Created] (SOLR-14880) bin/solr create_core should work when coreRootDirectory is defined

Alexandre Rafalovitch created SOLR-14880:
--------------------------------------------

             Summary: 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


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: issues-unsubscribe@lucene.apache.org
For additional commands, e-mail: issues-help@lucene.apache.org