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

Alexandre Rafalovitch commented on SOLR-14097:
----------------------------------------------

This seems broken in 8.6.1.

Attempts:
 # Don't create the *cores* directory
 ## edit server/solr/solr.xml to add ` <str 
name="coreRootDirectory">cores/</str>`
 ## bin/solr start - works
 ## bin/solr create_core -c test_no_dir
 ## Result: huge exception stack: CoreContainer is either not initialized or 
shutting down.
 # Create *cores* directory
 ## same solr.xml
 ## create directory server/solr/cores
 ## start server
 ## bin/solr create_core -c test_yes_dir
 ## Result: No exception, but a message: ERROR: Error CREATEing SolrCore 
'test_yes_dir': Unable to create core [test_yes_dir] Caused by: Can't find 
resource 'solrconfig.xml' in classpath or 
'/Users/arafalov/Projects/solr/solr-8.6.1/server/solr/cores/test_yes_dir'
 ## Result: server/solr/cores/test_yes_dir/ is created but it is empty

 

 

 

 

> coreRootDirectory should be solr_home/cores
> -------------------------------------------
>
>                 Key: SOLR-14097
>                 URL: https://issues.apache.org/jira/browse/SOLR-14097
>             Project: Solr
>          Issue Type: Improvement
>            Reporter: David Smiley
>            Priority: Blocker
>             Fix For: master (9.0)
>
>         Attachments: solr_test_no_dir.log
>
>
> The coreRootDirectory defaults to be solr_home.  Instead it should be a new 
> directory dedicated to solr cores, like solr_home/cores.  Using solr_home 
> directly has potential to clash with other things in that directory like 
> "lib" and "configsets".



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscr...@lucene.apache.org
For additional commands, e-mail: issues-h...@lucene.apache.org

Reply via email to