zoukankan      html  css  js  c++  java
  • Solr/SolrCloud -error

    状态

    2014-08-20 10:46:22,356 INFO  [coreZkRegister-1-thread-1] [org.apache.solr.cloud.ShardLeaderElectionContext] - Was waiting for replicas to come up, but they are taking too long - assuming they won't come back till later
    2014-08-20 10:46:22,357 INFO  [coreZkRegister-1-thread-1] [org.apache.solr.cloud.ShardLeaderElectionContext] - I may be the new leader - try and sync

    请求:http://172.16.10.188:8983/solr/browse

    2014-08-20 10:57:07,157 INFO  [coreZkRegister-1-thread-1] [org.apache.solr.cloud.ShardLeaderElectionContext] - Waiting until we see more replicas up for shard shard2: total=2 found=1 timeoutin=2.80711513E14ms
    2014-08-20 10:57:27,199 INFO  [coreZkRegister-1-thread-1] [org.apache.solr.cloud.ShardLeaderElectionContext] - Waiting until we see more replicas up for shard shard2: total=2 found=1 timeoutin=2.80704835E14ms
    2014-08-20 10:57:36,444 ERROR [qtp1312039019-91] [org.apache.solr.core.SolrCore] - org.apache.solr.common.SolrException: no servers hosting shard: 

    solrcloud的zookeeper从3.3.5换到3.4.5,重新启动出现这个错误,再次重新启动临时攻克了,还没纠其原因

    2014-08-20 15:40:27,338 ERROR [qtp566955654-128] [org.apache.solr.servlet.SolrDispatchFilter] - null:org.apache.solr.common.SolrException: SolrCore 'collection1' is not available due to init failure: Index locked for write for core collection1
            at org.apache.solr.core.CoreContainer.getCore(CoreContainer.java:753)

    又来

    :org.apache.solr.common.SolrException: Cannot publish state of core 'collection1' as active without recovering first!
    	at org.apache.solr.cloud.ZkController.publish(ZkController.java:1051)
    	at org.apache.solr.cloud.ZkController.publish(ZkController.java:1014)
    	at org.apache.solr.cloud.ZkController.publish(ZkController.java:1010)
    	at org.apache.solr.cloud.ZkController.register(ZkController.java:826)
    	at org.apache.solr.cloud.ZkController.register(ZkController.java:740)
    	at org.apache.solr.core.ZkContainer$2.run(ZkContainer.java:221)
    	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
    	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
    	at java.lang.Thread.run(Thread.java:722)





    版权声明:本文博主原创文章,博客,未经同意不得转载。

  • 相关阅读:
    csp-s考试总结
    一种贪心
    P2463 [SDOI2008]Sandy的卡片
    P3294 [SCOI2016]背单词
    *UOJ#164. 【清华集训2015】V
    P5503 [JSOI2016]灯塔
    *P3515 [POI2011]Lightning Conductor
    P4585 [FJOI2015]火星商店问题
    求最短路必经边
    P1903 [国家集训队]数颜色 / 维护队列
  • 原文地址:https://www.cnblogs.com/blfshiye/p/4796873.html
Copyright © 2011-2022 走看看