You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by "Shawn Heisey (JIRA)" <ji...@apache.org> on 2014/08/07 20:38:12 UTC

[jira] [Updated] (SOLR-6338) coreRootDirectory requires trailing slash, or SolrCloud cores are created in wrong location

     [ https://issues.apache.org/jira/browse/SOLR-6338?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Shawn Heisey updated SOLR-6338:
-------------------------------

    Summary: coreRootDirectory requires trailing slash, or SolrCloud cores are created in wrong location  (was: coreRootDirectory requires trailing slash, or cores are created in wrong location)

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