[
https://issues.apache.org/jira/browse/SOLR-4773?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13659676#comment-13659676
]
Shawn Heisey commented on SOLR-4773:
------------------------------------
[~andyfowler] - I finally found some time and looked into this more deeply in
relation to 4.3.0. The patch for this issue does not fix the problem with
relative dataDirs in the released version. The patch as-is won't apply to
4.3.0 because the code in branch_4x was significantly refactored, but I found
the right place to apply the change from getPath to getCanonicalPath, and it
didn't help. It did fix an exception during startup (solrconfig.xml couldn't
be found) when I followed your simple instructions for running the multicore
example with discovery, but only core0 started, core1 didn't, because it had
the same dataDir as core0.
[[email protected]] - Do you happen to know how we can fix the problem
with relative or missing dataDir properties in the 4.3 branch? Would the
change be trivial enough to make it to 4.3.1? Discovery mode is essentially
broken at the moment in the 4.3.0 release unless you have full absolute paths
that are explicitly declared in the properties file. This is not how I want
things to work in my own setup.
> 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]