[
https://issues.apache.org/jira/browse/SOLR-4773?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13649960#comment-13649960
]
Andy Fowler commented on SOLR-4773:
-----------------------------------
I'm thinking this is the cause of a bug I'm seeing in the 4.3.0 release. To
reproduce using the multicore example:
* echo "<solr></solr>" > multicore/solr.xml to put it into core discovery mode
* place a core.properties file in core0/ and core1/ directories, just with
loadOnStartup and transient properties defined.
* start example `java -Dsolr.solr.home=multicore -jar start.jar`
You should receive a "More than one core points to data dir 'multicore/data/'"
failure on startup. Setting a relative path in each core.properties file
doesn't work — it only works when I provide discrete dataDir for each core.
> New discovery mode needs to ensure that instanceDir is correct
> --------------------------------------------------------------
>
> Key: SOLR-4773
> URL: https://issues.apache.org/jira/browse/SOLR-4773
> Project: Solr
> Issue Type: Bug
> Components: Schema and Analysis
> Affects Versions: 5.0, 4.4
> Reporter: Erick Erickson
> Assignee: Mark Miller
> Fix For: 5.0, 4.4
>
> Attachments: SOLR-4773.patch, SOLR-4773.patch
>
>
> Doing a fresh checkout of 4.x (trunk to to I think) and firing up the example
> fails because we can't find solrconfig. The construction of the instanceDir
> in SolrCoreDiscoverer constructs a path with an extra solr (e.g.
> solr/solr/core).
> I'll attach a patch shortly.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]