You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@lucene.apache.org by "ASF subversion and git services (Jira)" <ji...@apache.org> on 2020/09/22 13:03:00 UTC

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

    [ https://issues.apache.org/jira/browse/SOLR-14880?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17200060#comment-17200060 ] 

ASF subversion and git services commented on SOLR-14880:
--------------------------------------------------------

Commit 16115864177a73499b55367774ddb89adefda61f in lucene-solr's branch refs/heads/master from Alexandre Rafalovitch
[ https://gitbox.apache.org/repos/asf?p=lucene-solr.git;h=1611586 ]

SOLR-14880: Support coreRootDirectory setting when create new cores from command line, in standalone mode

Update to match latest code with shorter name

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