SolrCloud连接超时池

时间:2016-08-01 17:59:15

标签: solrj solrcloud apache-zookeeper

我有solr云集群,它抛出以下异常,当solr对副本执行某些操作时会发生这种情况

null:org.apache.solr.common.SolrException:org.apache.solr.client.solrj.SolrServerException:在与http://10.14.0.72:8080/solr/IE_big_index_shard1_0_replica2服务器通信时发生IOException     在org.apache.solr.handler.component.SearchHandler.handleRequestBody(SearchHandler.java:407)     在org.apache.solr.handler.RequestHandlerBase.handleRequest(RequestHandlerBase.java:155)     在org.apache.solr.core.SolrCore.execute(SolrCore.java:2033)     在org.apache.solr.servlet.HttpSolrCall.execute(HttpSolrCall.java:652)     在org.apache.solr.servlet.HttpSolrCall.call(HttpSolrCall.java:460)     在org.apache.solr.servlet.SolrDispatchFilter.doFilter(SolrDispatchFilter.java:229)     在org.apache.solr.servlet.SolrDispatchFilter.doFilter(SolrDispatchFilter.java:184)     在org.eclipse.jetty.servlet.ServletHandler $ CachedChain.doFilter(ServletHandler.java:1668)     在org.eclipse.jetty.servlet.ServletHandler.doHandle(ServletHandler.java:581)     在org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:143)     在org.eclipse.jetty.security.SecurityHandler.handle(SecurityHandler.java:548)     在org.eclipse.jetty.server.session.SessionHandler.doHandle(SessionHandler.java:226)     at org.eclipse.jetty.server.handler.ContextHandler.doHandle(ContextHandler.java:1160)     在org.eclipse.jetty.servlet.ServletHandler.doScope(ServletHandler.java:511)     在org.eclipse.jetty.server.session.SessionHandler.doScope(SessionHandler.java:185)     在org.eclipse.jetty.server.handler.ContextHandler.doScope(ContextHandler.java:1092)     在org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:141)     at org.eclipse.jetty.server.handler.ContextHandlerCollection.handle(ContextHandlerCollection.java:213)     在org.eclipse.jetty.server.handler.HandlerCollection.handle(HandlerCollection.java:119)     在org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:134)     在org.eclipse.jetty.server.Server.handle(Server.java:518)     在org.eclipse.jetty.server.HttpChannel.handle(HttpChannel.java:308)     在org.eclipse.jetty.server.HttpConnection.onFillable(HttpConnection.java:244)     at org.eclipse.jetty.io.AbstractConnection $ ReadCallback.succeeded(AbstractConnection.java:273)     在org.eclipse.jetty.io.FillInterest.fillable(FillInterest.java:95)     在org.eclipse.jetty.io.SelectChannelEndPoint $ 2.run(SelectChannelEndPoint.java:93)     at org.eclipse.jetty.util.thread.strategy.ExecuteProduceConsume.produceAndRun(ExecuteProduceConsume.java:246)     at org.eclipse.jetty.util.thread.strategy.ExecuteProduceConsume.run(ExecuteProduceConsume.java:156)     在org.eclipse.jetty.util.thread.QueuedThreadPool.runJob(QueuedThreadPool.java:654)     在org.eclipse.jetty.util.thread.QueuedThreadPool $ 3.run(QueuedThreadPool.java:572)     在java.lang.Thread.run(Thread.java:745) 引起:org.apache.solr.client.solrj.SolrServerException:在与http://10.14.0.72:8080/solr/IE_big_index_shard1_0_replica2服务器通信时发生IOException     at org.apache.solr.client.solrj.impl.HttpSolrClient.executeMethod(HttpSolrClient.java:591)     在org.apache.solr.client.solrj.impl.HttpSolrClient.request(HttpSolrClient.java:241)     在org.apache.solr.client.solrj.impl.HttpSolrClient.request(HttpSolrClient.java:230)     在org.apache.solr.client.solrj.SolrClient.request(SolrClient.java:1219)     在org.apache.solr.handler.component.HttpShardHandler $ 1.call(HttpShardHandler.java:198)     在org.apache.solr.handler.component.HttpShardHandler $ 1.call(HttpShardHandler.java:163)     at java.util.concurrent.FutureTask.run(FutureTask.java:266)     at java.util.concurrent.Executors $ RunnableAdapter.call(Executors.java:511)     at java.util.concurrent.FutureTask.run(FutureTask.java:266)     at org.apache.solr.common.util.ExecutorUtil $ MDCAwareThreadPoolExecutor.lambda $ execute $ 0(ExecutorUtil.java:229)     在java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)     at java.util.concurrent.ThreadPoolExecutor $ Worker.run(ThreadPoolExecutor.java:617)     ......还有1个 引起:org.apache.http.conn.ConnectionPoolTimeoutException:超时等待池连接     在org.apache.http.impl.conn.PoolingClientConnectionManager.leaseConnection(PoolingClientConnectionManager.java:226)     at org.apache.http.impl.conn.PoolingClientConnectionManager $ 1.getConnection(PoolingClientConnectionManager.java:195)     at org.apache.http.impl.client.DefaultRequestDirector.execute(DefaultRequestDirector.java:423)     at org.apache.http.impl.client.AbstractHttpClient.doExecute(AbstractHttpClient.java:882)     在org.apache.http.impl.client.CloseableHttpClient.execute(CloseableHttpClient.java:82)     在org.apache.http.impl.client.CloseableHttpClient.execute(CloseableHttpClient.java:107)     在org.apache.http.impl.client.CloseableHttpClient.execute(CloseableHttpClient.java:55)     at org.apache.solr.client.solrj.impl.HttpSolrClient.executeMethod(HttpSolrClient.java:482)     ......还有12个

0 个答案:

没有答案