It's not entirely clear what you're trying to do when this is pushed
out, but I'm guessing it's create a collection. If that's so, then
this is your problem:

"Could not find configName for collection client_active"

You've set up Zookeeper correctly. But _before_ you create a
collection, you have to upload a "configset" to Zookeeper. This is
actually just a Solr conf directory, where thngs like schema.xml,
solrconfig.xml and all that live.

If you use the startup scripts with '-c -z <zkaddress> -e cloud'
options, you'll be guided through this process. Otherwise, you'll need
to push a configuration up to Zookeeper with the command line options,
see: https://cwiki.apache.org/confluence/display/solr/Command+Line+Utilities

Note that when creating a collection, if you _don't_ specify
collection.configName when you create a collection, Solr will assume
that there is a configset with the same name as your collection.

But just to check that your ZK is set up, take a look at the Solr
admin UI>>cloud. If you see things like "livenodes" that shows Solr
(expand the triangle), then Zookeeper is running just fine and Solr
can talk to it.

Best,
Erick

On Wed, Jun 3, 2015 at 5:36 AM, David McReynolds
<david.mcreyno...@gmail.com> wrote:
> I’m helping someone with this but my zookeeper experience is limited (as in
> none). They have purportedly followed the instruction from the wiki.
>
>
>
> https://cwiki.apache.org/confluence/display/solr/Setting+Up+an+External+ZooKeeper+Ensemble
>
>
>
>
>
> Jun 02, 2015 2:40:37 PM org.apache.solr.common.cloud.ZkStateReader
> updateClusterState
>
> INFO: Updating cloud state from ZooKeeper...
>
> Jun 02, 2015 2:40:37 PM org.apache.solr.cloud.ZkController
> createCollectionZkNode
>
> INFO: Check for collection zkNode:client_active
>
> Jun 02, 2015 2:40:37 PM org.apache.solr.cloud.Overseer$ClusterStateUpdater
> updateState
>
> INFO: Update state numShards=null message={
>
>   "operation":"state",
>
>   "state":"down",
>
>   "base_url":"http://10.10.1.178:8983/solr";,
>
>   "core":"client_active",
>
>   "roles":null,
>
>   "node_name":"10.10.1.178:8983_solr",
>
>   "shard":null,
>
>   "collection":"client_active",
>
>   "numShards":null,
>
>   "core_node_name":"10.10.1.178:8983_solr_client_active"}
>
> Jun 02, 2015 2:40:37 PM org.apache.solr.cloud.ZkController
> createCollectionZkNode
>
> INFO: Creating collection in ZooKeeper:client_active
>
> Jun 02, 2015 2:40:37 PM org.apache.solr.cloud.Overseer$ClusterStateUpdater
> updateState
>
> INFO: shard=shard1 is already registered
>
> Jun 02, 2015 2:40:37 PM org.apache.solr.cloud.ZkController getConfName
>
> INFO: Looking for collection configName
>
> Jun 02, 2015 2:40:37 PM org.apache.solr.cloud.ZkController getConfName
>
> INFO: Could not find collection configName - pausing for 3 seconds and
> trying again - try: 1
>
> Jun 02, 2015 2:40:37 PM
> org.apache.solr.cloud.DistributedQueue$LatchChildWatcher process
>
> INFO: LatchChildWatcher fired on path: /overseer/queue state: SyncConnected
> type NodeChildrenChanged
>
> Jun 02, 2015 2:40:37 PM org.apache.solr.common.cloud.ZkStateReader$2 process
>
> INFO: A cluster state change: WatchedEvent state:SyncConnected
> type:NodeDataChanged path:/clusterstate.json, has occurred - updating...
> (live nodes size: 1)
>
> Jun 02, 2015 2:40:40 PM org.apache.solr.cloud.ZkController getConfName
>
> INFO: Could not find collection configName - pausing for 3 seconds and
> trying again - try: 2
>
> Jun 02, 2015 2:40:43 PM org.apache.solr.cloud.ZkController getConfName
>
> INFO: Could not find collection configName - pausing for 3 seconds and
> trying again - try: 3
>
> Jun 02, 2015 2:40:46 PM org.apache.solr.cloud.ZkController getConfName
>
> INFO: Could not find collection configName - pausing for 3 seconds and
> trying again - try: 4
>
> Jun 02, 2015 2:40:49 PM org.apache.solr.cloud.ZkController getConfName
>
> INFO: Could not find collection configName - pausing for 3 seconds and
> trying again - try: 5
>
> Jun 02, 2015 2:40:52 PM org.apache.solr.cloud.ZkController getConfName
>
> SEVERE: Could not find configName for collection client_active
>
> Jun 02, 2015 2:40:52 PM org.apache.solr.core.CoreContainer recordAndThrow
>
> SEVERE: Unable to create core: client_active
>
> org.apache.solr.common.cloud.ZooKeeperException: Could not find configName
> for collection client_active found:null
>
> --
> --------------
> *Mi aerodeslizador está lleno de anguilas.*

Reply via email to