ItGo.me - 专注IT技术分享

首页 > Exception > No live SolrServers available to handle this request

No live SolrServers available to handle this request

时间:2016-05-09来源:网友分享 点击:
org.apache.solr.client.solrj.SolrServerException: No live SolrServers available to handle this request:[http://192.168.0.2:8983/solr/test, http://192.168.0.3:8983/solr/test, http://192.168.0.4:8983/solr/test]
	at org.apache.solr.client.solrj.impl.LBHttpSolrClient.request(LBHttpSolrClient.java:352)
	at org.apache.solr.client.solrj.impl.CloudSolrClient.sendRequest(CloudSolrClient.java:1100)
	at org.apache.solr.client.solrj.impl.CloudSolrClient.requestWithRetryOnStaleState(CloudSolrClient.java:871)
	at org.apache.solr.client.solrj.impl.CloudSolrClient.request(CloudSolrClient.java:807)
	at org.apache.solr.client.solrj.SolrRequest.process(SolrRequest.java:150)
	at org.apache.solr.client.solrj.SolrClient.query(SolrClient.java:975)
	at org.apache.solr.client.solrj.SolrClient.query(SolrClient.java:991)
Caused by: org.apache.solr.client.solrj.impl.HttpSolrClient$RemoteSolrException: Error from server at http://192.168.0.2:8983/solr/test: Expected mime type application/octet-stream but got text/html. <html>

主要是在测试solrcloud时没有配置自己设置的requestHandler。
这样的错误一般是配置错误,或者操作的core核心不存在,或者没有配置对应的handler。都是路径或者用法上的问题。

Make sure you're using Spring 3.2.5 or better spring-data-solr解决

Caused by: org.springframework.beans.factory.parsing.BeanDefinitionParsingException: Configuration problem: AnnotationConfigUtils.processCommonDefinitionAnnotations(…) is not public! Make sure you're using Spring 3.2.5 or better...

no "ssl_certificate" is defined in server listening on SSL port while SSL handshaking, client: 192.168.6.238, server: 0.0.0.0:443解决

no "ssl_certificate" is defined in server listening on SSL port while SSL handshaking...

Could not find output/spill0.out in any of the configured local directories

java.lang.Exception: org.apache.hadoop.util.DiskChecker$DiskErrorException: Could not find output/spill0.out in any of the configured local directories ...

org.apache.solr.client.solrj.SolrServerException: No live SolrServers available to handle this request:[http://192.168.0.2:8983/solr/test, http://192.168.0.3:8983/solr/test, http://192.168.0.4:8983/solr/test]
------分隔线----------------------------