Hi
  I have to add some necessary information.
  I failed to  create a core by using :
http://10.1.22.1:8081/solr/admin/cores?action=CREATE&name=reportCore_201309&shard=reportCore_201309&collection.configName=myconf&schema=rep_core_schema.xml&config=solrconfigHDFS_report_his.xml&collection=repCore&;
coreNodeName=reportCore_201309

 However succeed to create a core by using:


http://10.1.22.1:8081/solr/admin/cores?action=CREATE&name=reportCore_201309&shard=reportCore_201309&collection.configName=myconf&schema=rep_core_schema.xml&config=solrconfigHDFS_report_his.xml&collection=repCore


I just to upgrade to solr 4.6, the coreNodeName  goes well in solr 4.4 .

please help.

Regards


2013/12/17 YouPeng Yang <yypvsxf19870...@gmail.com>

> Hi
>
>  I get an weird problem.
>  I try to create a core within Solr4.6.
>
> Firstly, on my solr web server tomcat, a log come out[1]:
> Then lots of Overseer  Info  logs come out as [2]. And then the creation
> failed.
>
> I have also notice that there is a lot of qn in the Overseer  on the
> zookeeper:
>
> [zk: localhost:2181(CONNECTED) 45] ls /overseer/queue
> [qn-0000000038, qn-0000000037, qn-0000000039, qn-0000000034,
> qn-0000000033, qn-0000000036, qn-0000000044, qn-0000000035, qn-0000000042,
> qn-0000000043, qn-0000000030, qn-0000000031, qn-0000000040, qn-0000000032,
> qn-0000000041]
>
>
> Why are there so many qn.? I do not know the reason to the core creation
> failed.
> Please help .
>
>
>
> [1]----------------------------------------------------------------
> ......
> 293699 [http-bio-8081-exec-1] INFO  org.apache.solr.cloud.ZkController  –
> publishing core=reportCore_201310 state=down
> 293700 [http-bio-8081-exec-1] INFO  org.apache.solr.cloud.ZkController  –
> numShards not found on descriptor - reading it from system property
> 293704 [http-bio-8081-exec-1] INFO  org.apache.solr.cloud.ZkController  –
> waiting to find shard id in clusterstate for reportCore_201310
>
>
>
> [2]---------------------------------------------------------------------------------------------------
> 136661 [Thread-2] INFO  org.apache.solr.common.cloud.ZkStateReader  –
> Updating cloud state from ZooKeeper...
> 136663 [Thread-2] INFO  org.apache.solr.cloud.Overseer  – Update state
> numShards=null message={
>   "operation":"state",
>   "state":"down",
>   "base_url":"http://10.1.22.1:8080/solr";,
>   "core":"reportCore_201310",
>   "roles":null,
>   "node_name":"10.1.22.1:8080_solr",
>   "shard":"reportCore_201310",
>   "shard_range":null,
>   "shard_state":"active",
>   "shard_parent":null,
>   "collection":"repCore",
>   "numShards":null,
>   "core_node_name":"reportCore_201310"}
> 136663 [Thread-2] ERROR org.apache.solr.cloud.Overseer  – Exception in
> Overseer main queue loop
> java.lang.NullPointerException
>     at
> org.apache.solr.cloud.Overseer$ClusterStateUpdater.updateState(Overseer.java:360)
>     at
> org.apache.solr.cloud.Overseer$ClusterStateUpdater.processMessage(Overseer.java:204)
>     at
> org.apache.solr.cloud.Overseer$ClusterStateUpdater.run(Overseer.java:166)
>     at java.lang.Thread.run(Thread.java:662)
>
>
>

Reply via email to