lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Alan Woodward (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (SOLR-5099) The core.properties not created during collection creation
Date Thu, 01 Aug 2013 09:07:50 GMT

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

Alan Woodward commented on SOLR-5099:
-------------------------------------

This is because creating a core in normal mode requires that the instance dir is already present,
but creation via SolrCloud allows you to load all config from zookeeper, and so doesn't need
an actual instance dir.  Nice catch.

I'll add a test for the Collections API as well.
                
> The core.properties not created during collection creation
> ----------------------------------------------------------
>
>                 Key: SOLR-5099
>                 URL: https://issues.apache.org/jira/browse/SOLR-5099
>             Project: Solr
>          Issue Type: Bug
>          Components: SolrCloud
>    Affects Versions: 4.5, 5.0
>            Reporter: Herb Jiang
>            Assignee: Alan Woodward
>            Priority: Critical
>         Attachments: CorePropertiesLocator.java.patch
>
>
> When using the new solr.xml structure. The core auto discovery mechanism trying to find
core.properties. 
> But I found the core.properties cannot be create when I dynamically create a collection.
> The root issue is the CorePropertiesLocator trying to create properties before the instanceDir
is created. 
> And collection creation process will done and looks fine at runtime, but it will cause
issues (cores are not auto discovered after server restart).

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


Mime
View raw message