lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "lingya (JIRA)" <j...@apache.org>
Subject [jira] [Created] (SOLR-9162) Connection pool shut down
Date Thu, 26 May 2016 02:54:13 GMT
lingya created SOLR-9162:
----------------------------

             Summary: Connection pool shut down
                 Key: SOLR-9162
                 URL: https://issues.apache.org/jira/browse/SOLR-9162
             Project: Solr
          Issue Type: Bug
            Reporter: lingya


We get an "Connection pool shut down""  error  when  upgrading to solr 6.0 ,
via  solr JDBC

And here's the exception:

  2016-05-26 10:41:30.903 b.s.m.n.Server [INFO] Getting metrics for server on port 6700
2016-05-26 10:42:13.962 o.a.s.c.S.Request [INFO] [systemTables_shard2_replica1]  webapp=/solr
path=/sql params={includeMetadata=true&wt=json&version=2.2&stmt=select+table_name,id+from+systemTables+order+by+id++limit+100&aggregationMode=facet}
status=0 QTime=1
2016-05-26 10:42:13.983 o.a.s.c.s.i.s.ExceptionStream [ERROR] java.io.IOException: java.util.concurrent.ExecutionException:
java.io.IOException: java.lang.IllegalStateException: Connection pool shut down
	at org.apache.solr.client.solrj.io.stream.CloudSolrStream.openStreams(CloudSolrStream.java:361)
	at org.apache.solr.client.solrj.io.stream.CloudSolrStream.open(CloudSolrStream.java:243)
	at org.apache.solr.handler.SQLHandler$LimitStream.open(SQLHandler.java:1265)
	at org.apache.solr.client.solrj.io.stream.SelectStream.open(SelectStream.java:153)
	at org.apache.solr.handler.SQLHandler$MetadataStream.open(SQLHandler.java:1511)
	at org.apache.solr.client.solrj.io.stream.ExceptionStream.open(ExceptionStream.java:47)
	at org.apache.solr.handler.StreamHandler$TimerStream.open(StreamHandler.java:362)
	at org.apache.solr.response.TextResponseWriter.writeTupleStream(TextResponseWriter.java:301)
	at org.apache.solr.response.TextResponseWriter.writeVal(TextResponseWriter.java:167)
	at org.apache.solr.response.JSONWriter.writeNamedListAsMapWithDups(JSONResponseWriter.java:183)
	at org.apache.solr.response.JSONWriter.writeNamedList(JSONResponseWriter.java:299)
	at org.apache.solr.response.JSONWriter.writeResponse(JSONResponseWriter.java:95)
	at org.apache.solr.response.JSONResponseWriter.write(JSONResponseWriter.java:60)
	at org.apache.solr.response.QueryResponseWriterUtil.writeQueryResponse(QueryResponseWriterUtil.java:65)
	at org.apache.solr.servlet.HttpSolrCall.writeResponse(HttpSolrCall.java:725)
	at org.apache.solr.servlet.HttpSolrCall.call(HttpSolrCall.java:469)
	at org.apache.solr.servlet.SolrDispatchFilter.doFilter(SolrDispatchFilter.java:229)
	at org.apache.solr.servlet.SolrDispatchFilter.doFilter(SolrDispatchFilter.java:184)
	at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1676)
	at org.apache.solr.client.solrj.embedded.JettySolrRunner$DebugFilter.doFilter(JettySolrRunner.java:109)
	at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1676)
	at org.eclipse.jetty.servlet.ServletHandler.doHandle(ServletHandler.java:581)
	at org.eclipse.jetty.server.session.SessionHandler.doHandle(SessionHandler.java:224)
	at org.eclipse.jetty.server.handler.ContextHandler.doHandle(ContextHandler.java:1160)
	at org.eclipse.jetty.servlet.ServletHandler.doScope(ServletHandler.java:511)
	at org.eclipse.jetty.server.session.SessionHandler.doScope(SessionHandler.java:185)
	at org.eclipse.jetty.server.handler.ContextHandler.doScope(ContextHandler.java:1092)
	at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:141)
	at org.eclipse.jetty.server.handler.gzip.GzipHandler.handle(GzipHandler.java:399)
	at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:134)
	at org.eclipse.jetty.server.Server.handle(Server.java:518)
	at org.eclipse.jetty.server.HttpChannel.handle(HttpChannel.java:308)
	at org.eclipse.jetty.server.HttpConnection.onFillable(HttpConnection.java:244)
	at org.eclipse.jetty.io.AbstractConnection$ReadCallback.succeeded(AbstractConnection.java:273)
	at org.eclipse.jetty.io.FillInterest.fillable(FillInterest.java:95)
	at 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)
	at org.eclipse.jetty.util.thread.QueuedThreadPool.runJob(QueuedThreadPool.java:654)
	at org.eclipse.jetty.util.thread.QueuedThreadPool$3.run(QueuedThreadPool.java:572)
	at java.lang.Thread.run(Thread.java:745)
Caused by: java.util.concurrent.ExecutionException: java.io.IOException: java.lang.IllegalStateException:
Connection pool shut down
	at java.util.concurrent.FutureTask.report(FutureTask.java:122)
	at java.util.concurrent.FutureTask.get(FutureTask.java:192)
	at org.apache.solr.client.solrj.io.stream.CloudSolrStream.openStreams(CloudSolrStream.java:355)
	... 40 more
Caused by: java.io.IOException: java.lang.IllegalStateException: Connection pool shut down
	at org.apache.solr.client.solrj.io.stream.SolrStream.open(SolrStream.java:97)
	at org.apache.solr.client.solrj.io.stream.CloudSolrStream$StreamOpener.call(CloudSolrStream.java:470)
	at org.apache.solr.client.solrj.io.stream.CloudSolrStream$StreamOpener.call(CloudSolrStream.java:459)
	at java.util.concurrent.FutureTask.run(FutureTask.java:266)
	at org.apache.solr.common.util.ExecutorUtil$MDCAwareThreadPoolExecutor.lambda$execute$15(ExecutorUtil.java:229)
	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
	... 1 more
Caused by: java.lang.IllegalStateException: Connection pool shut down
	at org.apache.http.util.Asserts.check(Asserts.java:34)
	at org.apache.http.pool.AbstractConnPool.lease(AbstractConnPool.java:184)
	at org.apache.http.pool.AbstractConnPool.lease(AbstractConnPool.java:217)
	at org.apache.http.impl.conn.PoolingClientConnectionManager.requestConnection(PoolingClientConnectionManager.java:184)
	at org.apache.http.impl.client.DefaultRequestDirector.execute(DefaultRequestDirector.java:415)
	at org.apache.http.impl.client.AbstractHttpClient.doExecute(AbstractHttpClient.java:882)
	at org.apache.http.impl.client.CloseableHttpClient.execute(CloseableHttpClient.java:82)
	at org.apache.http.impl.client.CloseableHttpClient.execute(CloseableHttpClient.java:107)
	at org.apache.http.impl.client.CloseableHttpClient.execute(CloseableHttpClient.java:55)
	at org.apache.solr.client.solrj.impl.HttpSolrClient.executeMethod(HttpSolrClient.java:482)
	at org.apache.solr.client.solrj.impl.HttpSolrClient.request(HttpSolrClient.java:241)
	at org.apache.solr.client.solrj.impl.HttpSolrClient.request(HttpSolrClient.java:230)
	at org.apache.solr.client.solrj.SolrClient.request(SolrClient.java:1219)
	at org.apache.solr.client.solrj.io.stream.JSONTupleStream.create(JSONTupleStream.java:66)
	at org.apache.solr.client.solrj.io.stream.SolrStream.open(SolrStream.java:95)
	... 7 more



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org


Mime
View raw message