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