Thanks, Mark!

The core node names in the solr.xml in solr4.2 is great!  Maybe in 4.3 it
can be supported via API?

Also I am glad you mentioned in other post the chance to namespace
zookeeper by adding a path to the end of the comma-delim zk hosts.  That
works out really well in our situation for having zk serve multiple amazon
environments that go up and down independently of each other -- no issues
w/ shared clusterstate.json or overseers.

Regarding our original problem, we were able to restart all our shards but
one, which wasn't getting past
Mar 20, 2013 5:12:54 PM org.apache.solr.common.cloud.ZkStateReader$2 process
INFO: A cluster state change has occurred - updating...
Mar 20, 2013 5:12:54 PM org.apache.zookeeper.ClientCnxn$EventThread
processEvent
SEVERE: Error while calling watcher
java.lang.NullPointerException
    at
org.apache.solr.common.cloud.ZkStateReader$2.process(ZkStateReader.java:201)
    at
org.apache.zookeeper.ClientCnxn$EventThread.processEvent(ClientCnxn.java:526)
    at org.apache.zookeeper.ClientCnxn$EventThread.run(ClientCnxn.java:502)

We ended up upgrading to solr4.2 and rebuilding the whole index from our
datastore.

-Gary


On Sat, Mar 16, 2013 at 9:51 AM, Mark Miller <markrmil...@gmail.com> wrote:

> Yeah, I don't know that I've ever tried with 4.0, but I've done this with
> 4.1 and 4.2.
>
> - Mark
>
> On Mar 16, 2013, at 12:19 PM, Gary Yngve <gary.yn...@gmail.com> wrote:
>
> > Cool, I'll need to try this.  I could have sworn that it didn't work that
> > way in 4.0, but maybe my test was bunk.
> >
> > -g
> >
> >
> > On Fri, Mar 15, 2013 at 9:41 PM, Mark Miller <markrmil...@gmail.com>
> wrote:
> >>
> >> You can do this - just modify your starting Solr example to have no
> cores
> >> in solr.xml. You won't be able to make use of the admin UI until you
> create
> >> at least one core, but the core and collection apis will both work fine.
>
>

Reply via email to