I am trying to start Solr in SolrCloud mode. I created a new collection from collection1 and changed its name in the core.properties file by setting the property name=logmail .
But when I run Solr, I get the following error
$ java -Dcollection.configName=logmail -DzkRun -Dnumshards=2 -DBootstrap_confdir=./solr/logmail/conf -jar start.jar
2165 [main] INFO org.apache.solr.common.cloud.ZkStateReader - Updating the cluster state from ZooKeeper ... 2179 [OverseerStateUpdate-94955713964081152-127.0.1.1: 8983_solr-n_0000000001] INFO org.apache.solr.cloud.Overseer - start work on main queue 2197 [main] INFO org.apache.solr.core.CoresLocator - Looking for basic definitions below / home / rahul / Desktop / dev / solrcloud / solr 2203 [main] INFO org.apache.solr.core. CoresLocator - found the logmail core in / home / rahul / Desktop / dev / solrcloud / solr / logmail / 2204 [main] INFO org.apache.solr.core.CoresLocator - Found the main set1 in / home / rahul / Desktop / dev / solrcloud / solr / collection 1/2204 [main] INFO org.apache.solr.core.CoresLocator - 2 main definitions found 2207 [coreLoadExecutor-6-thread-1] INFO org.apache.solr.cloud.ZkController - publisher I core = logmail state = down collection = logmail 2207 [coreLoadExecutor-6-thread-2] INFO org.apache.solr.cloud.ZkController - publication core = collection1 state = down collection = collection1 2208 [coreLoadExecutor-6-thread-1 ] INFO org.apache.solr.cloud.ZkController - numShards not found in the descriptor - read it from the descriptor - read it from the system property 2208 [coreLoadExecutor-6-thread-2] INFO org.apache.solr.cloud.ZkController - numShards not found the descriptor - read it from the system property 2214 [coreLoadExecutor-6-thread-1] INFO org.apache.solr.cloud.ZkController - find our main name node 2214 [coreLoadExecutor-6-thread-1] INFO org.apache.solr.cloud.ZkController - waits to find the fragment identifier in clusterstate for logmail 2214 [zkCallback-2-thread-1] INFO org.apache.solr.cloud.DistributedQueue - NodeChildrenChan ged fired path / control / queue state SyncConnected 2215 [coreLoadExecutor-6-thread-1] INFO org.apache.solr.cloud.ZkController - Check the zkNode collection: logmail 2222 [coreLoadExecutor-6-thread-2] INFO org.apache. solr.cloud.ZkController - find our main name node 2222 [coreLoadExecutor-6-thread-1] INFO org.apache.solr.cloud.ZkController - create a collection in ZooKeeper: logmail 2222 [coreLoadExecutor-6-thread-2] INFO org .apache.solr.cloud.ZkController - waits to find the fragment identifier in clusterstate for collection1 2223 [coreLoadExecutor-6-thread-1] INFO org.apache.solr.cloud.ZkController - Search for configName 2223 collection [coreLoadExecutor-6-thread -2] INFO org.apache.solr.cloud.ZkController - checking the zkNode collection: collection1 2224 [coreLoadExecutor-6-thread-2] INFO org.apache.solr.cloud.ZkCont roller - creating a collection in ZooKeeper: collection1 2224 [coreLoadExecutor-6-thread-2] INFO org.apache.solr.cloud.ZkController - Finding the configName 2225 collection [coreLoadExecutor-6-thread-1] INFO org.apache.solr.cloud .ZkController - Could not find configName collection - pause for 3 seconds and try again - try: 1 2226 [coreLoadExecutor-6-thread-2] INFO org.apache.solr.cloud.ZkController - Could not find configName collection - pause in within 3 seconds and try again - try: 1 2226 [OverseerStateUpdate-94955713964081152-127.0.1.1: 8983_solr-n_0000000001] INFO org.apache.solr.cloud.Overseer - update status numShards = null message = {"core": "logmail" , "role": null,
"base_url": " http://127.0.1.1:8983/solr "
"node_name": "127.0.1.1:8983_solr", "state": "down", "shard": null,
"collection": "logmail", "operation": "state"} 2226 [OverseerStateUpdate-94955713964081152-127.0.1.1: 8983_solr-n_0000000001] INFO org.apache.solr.cloud.Overseer - node = core_node1 already registered 2227 [OverseerStateUpdate 94955713964081152-127.0.1.1: 8983_solr-n_0000000001] INFO org.apache.solr.cloud.Overseer - shard = shard1 already registered 2255 [zkCallback-2-thread-1] INFO org.apache.solr.common.cloud.ZkStateReader - change cluster state: WatchedEvent state: SyncConnected type: NodeDataChanged path: /clusterstate.json, occurred - update ... (live node size: 1) 2268 [OverseerStateUpdate-94955713964081152-127.0.1.1: 8983_solr-n_0000000001] INFO org.apache.sol .cloud.Overseer - update status numShards = null message = {"core": "collection1", "role": null,
"base_url": " http://127.0.1.1:8983/solr ",
"node_name": "127.0.1.1:8983_solr", "state": "down", "shard": null,
"collection": "collection1", "operation": "state"} 2268 [OverseerStateUpdate-94955713964081152-127.0.1.1: 8983_solr-n_0000000001] INFO org.apache.solr.cloud.Overseer - node = core_node1 already registered 2269 [OverseerStateUpdate 94955713964081152-127.0.1.1: 8983_solr-n_0000000001] INFO org.apache.solr.cloud.Overseer - shard = shard1 already registered 2288 [zkCallback-2-thread-1] INFO org.apache.solr.cloud.DistributedQueue - NodeChildren Path Changed / overseer / queue state SyncConnected 2318 [zkCallback-2-thread-1] INFO org.apache.solr.common.cloud.ZkStateReader - cluster state change: WatchedEvent: Type SyncConnected: NodeDataChanged path: /clusterstate.json, update occurred. .. (size of live nodes: 1) 5227 [coreLoadExecutor-6-thread-1] INFO org.apache.solr.cloud.ZkController - Could not find the configName collection - pause in progress f 3 seconds and retry - try: 2 5228 [coreLoadExecutor-6-thread-2] INFO org.apache.solr.cloud.ZkController - Could not find the configName collection - pause for 3 seconds and try again - try: 2 8229 [coreLoadExecutor-6-thread-1] INFO org.apache.solr.cloud.ZkController - Could not find the configName collection - pause for 3 seconds and try again - try: 3 8229 [coreLoadExecutor-6-thread-2] INFO org.apache.solr.cloud.ZkController - Could not find the configName collection - pause for 3 seconds and try again - try: 3 11232 [coreLoadExecutor-6-thread-1] INFO org.apache.solr.cloud.ZkController - Could not find configName collection - pause in current 3 seconds and retrying - try: 4 11232 [coreLoadExecutor-6-thread-2] INFO org.apache.solr.cloud.ZkController - Could not find the configName collection - pause for 3 seconds and try again - try: 4 14237 [coreLoadExecutor-6-thread-1] INFO org.apache.solr.cloud.ZkController - Could not find the configName collection - pause for 3 seconds and try again - try: 5 14237 [coreLoadExecutor-6-thread-2] INFO org.apache.solr.cloud.ZkController - Could not find the configName collection - pause for 3 seconds and try again - try: 5 17237 [coreLoadExecutor-6-thread-1] ERROR org.apache.solr.cloud.ZkController - Not managed to find configName for logmail collection 17238 [coreLoadExecutor-6-thread-2] ERROR org.apache.solr.cloud.ZkController - Could not find configName for collection collection1 17240 [coreLoadExecutor-6-thread-1] ERROR org.apache.solr.core.CoreContainer - an error occurred kernel creation [logmail]: Could not find configName for logmail collection found: null org.apache.solr.common.cloud.ZooKeeperException: could not find configName for logmail collection found: null
source share