[ https://issues.apache.org/jira/browse/SOLR-6338?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14089894#comment-14089894 ]
Erick Erickson commented on SOLR-6338: -------------------------------------- Ugggh. I really, really _hate_ those kinds of sensitivities. Nice catch! > coreRootDirectory requires trailing slash, or SolrCloud cores are created in > wrong location > ------------------------------------------------------------------------------------------- > > Key: SOLR-6338 > URL: https://issues.apache.org/jira/browse/SOLR-6338 > Project: Solr > Issue Type: Bug > Affects Versions: 4.9 > Environment: x86_64 Linux > x86_64 Sun Java 1.7.0_51 > Reporter: Virender Khatri > Labels: collection-api > Fix For: 5.0, 4.10 > > > If the coreRootDirectory setting does not end with a filesystem path > separator, cores are not created in the correct location. > e.g. > coreRootDirectory=/usr/local/solr/cores > For a collection xyz, API creates '/usr/local/solr/coresxyz_shardN_replicaN' > config directory instead of '/usr/local/solr/cores/xyz_shardN_replicaN' > Adding a trailing slash to coreRootDirectory is a viable workaround: > coreRootDirectory=/usr/local/solr/cores/ -- This message was sent by Atlassian JIRA (v6.2#6252) --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscr...@lucene.apache.org For additional commands, e-mail: dev-h...@lucene.apache.org