Re: Ability to load solrcore.properties from zookeeper

2015-06-04 Thread Chris Hostetter
: passed in as a Properties object to the CD constructor. At the moment, : you can't refer to a property defined in solrcore.properties within your : core.properties file. but if you look at it fro ma historical context, that doesn't really matter for the purpose that solrcore.properties was

Re: Ability to load solrcore.properties from zookeeper

2015-05-30 Thread Steve Davids
Sorry for not responding back earlier, I went ahead and created a ticket here: https://issues.apache.org/jira/browse/SOLR-7613 It does look somewhat trivial if you just update the current loading mechanism as Chris describes, I can provide a patch for that if you want. Though, if you want to go t

Re: Ability to load solrcore.properties from zookeeper

2015-05-29 Thread Alan Woodward
Yeah, you could do it like that. But looking at it further, I think solrcore.properties is actually being loaded in entirely the wrong place - it should be done by whatever is creating the CoreDescriptor, and then passed in as a Properties object to the CD constructor. At the moment, you can't

Re: Ability to load solrcore.properties from zookeeper

2015-05-28 Thread Chris Hostetter
: certainly didn't intend to write it like this!). The problem here will : be that CoreDescriptors are currently built entirely from : core.properties files, and the CoreLocators that construct them don't : have any access to zookeeper. But they do have access to the CoreContainer which is pa

Re: Ability to load solrcore.properties from zookeeper

2015-05-28 Thread Chris Hostetter
: Never even considered loading core.properties from ZK, so not even an : oversight on my part ;) to be very clear -- we're not talking about core.properties. we're talking about solrcore.properties -- the file that's existed for much longer then core.properites (predates both solrcloud and

Re: Ability to load solrcore.properties from zookeeper

2015-05-28 Thread Erick Erickson
Never even considered loading core.properties from ZK, so not even an oversight on my part ;) On Thu, May 28, 2015 at 3:48 AM, Alan Woodward wrote: > I think this is an oversight, rather than intentional (at least, I certainly > didn't intend to write it like this!). The problem here will

Re: Ability to load solrcore.properties from zookeeper

2015-05-28 Thread Alan Woodward
I think this is an oversight, rather than intentional (at least, I certainly didn't intend to write it like this!). The problem here will be that CoreDescriptors are currently built entirely from core.properties files, and the CoreLocators that construct them don't have any access to zookeeper.

Re: Ability to load solrcore.properties from zookeeper

2015-05-27 Thread Chris Hostetter
: I am attempting to override some properties in my solrconfig.xml file by : specifying properties in a solrcore.properties file which is uploaded in : Zookeeper's collections/conf directory, though when I go to create a new : collection those properties are never loaded. One work-around is to spec

Ability to load solrcore.properties from zookeeper

2015-05-27 Thread Steve Davids
I am attempting to override some properties in my solrconfig.xml file by specifying properties in a solrcore.properties file which is uploaded in Zookeeper's collections/conf directory, though when I go to create a new collection those properties are never loaded. One work-around is to specify prop