I'm getting this error in tomcat log:
Apr 30, 2013 11:21:44 AM org.apache.solr.common.SolrException log
SEVERE: null:org.apache.solr.common.SolrException: Error trying to proxy
request for url:
http://solr03.officemeeuwen.smartbit.be:8983/solr/intradesk/select/
at
org.apache.solr.servlet.SolrDispatchFilter.remoteQuery(SolrDispatchFilter.java:478)
at
org.apache.solr.servlet.SolrDispatchFilter.doFilter(SolrDispatchFilter.java:253)
at
org.apache.solr.servlet.SolrDispatchFilter.doFilter(SolrDispatchFilter.java:141)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
at
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:222)
at
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:123)
at
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:171)
at
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:99)
at
org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:931)
at
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:118)
at
org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:407)
at
org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1004)
at
org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:589)
at
org.apache.tomcat.util.net.JIoEndpoint$SocketProcessor.run(JIoEndpoint.java:310)
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)
Caused by: java.io.IOException: Server returned HTTP response code: 400
for URL:
http://solr03.officemeeuwen.smartbit.be:8983/solr/intradesk/select/?version=2.2&indent=on&wt=xml
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native
Method)
at
sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:57)
at
sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
at java.lang.reflect.Constructor.newInstance(Constructor.java:525)
at
sun.net.www.protocol.http.HttpURLConnection$6.run(HttpURLConnection.java:1674)
at
sun.net.www.protocol.http.HttpURLConnection$6.run(HttpURLConnection.java:1672)
at java.security.AccessController.doPrivileged(Native Method)
at
sun.net.www.protocol.http.HttpURLConnection.getChainedException(HttpURLConnection.java:1670)
at
sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:1243)
at
org.apache.solr.servlet.SolrDispatchFilter.remoteQuery(SolrDispatchFilter.java:466)
... 17 more
Caused by: java.io.IOException: Server returned HTTP response code: 400
for URL:
http://solr03.officemeeuwen.smartbit.be:8983/solr/intradesk/select/?version=2.2&indent=on&wt=xml
at
sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:1625)
at
java.net.HttpURLConnection.getResponseCode(HttpURLConnection.java:468)
at
org.apache.solr.servlet.SolrDispatchFilter.remoteQuery(SolrDispatchFilter.java:454)
... 17 more
On 04/30/2013 09:57 AM, Arkadi Colson wrote:
I'm using the latest solr 4.2.1 with apache-tomcat-7.0.33
What exactly is the purpose of the linkconfig commmand? When I run it
before I creating the collection, it creates a file in zookeeper.
After creating the collection, the file is gone and a directory comes
in place.
On 04/29/2013 05:36 PM, Mark Miller wrote:
What version of Solr? That should work in Jetty in 4.2 and not before
and in Tomcat in 4.3 and not before.
- Mark
On Apr 29, 2013, at 10:19 AM, Arkadi Colson <ark...@smartbit.be> wrote:
When I first do a linkconfig the route:implicit seems to be gone! So
recreating the collection will solve this. The problem that I cannot
request a collection that does not exists on that host is still there.
Arkadi
On 04/29/2013 03:31 PM, Arkadi Colson wrote:
The strange thing is that I created some time ago 2 other
collections and there the router:implicit has not been set. Is it
possible to create a collection withour the router:implicit?
http://solr01:8983/solr/admin/collections?action=CREATE&name=lvs&numShards=5&replicationFactor=2&collection.configName=smsc
<http://solr01-dcg.intnet.smartbit.be:8983/solr/admin/collections?action=CREATE&name=lvs&numShards=5&replicationFactor=2&collection.configName=smsc>
VERSIONS
Solr 4.2.1
java version "1.7.0_17"
Java(TM) SE Runtime Environment (build 1.7.0_17-b02)
Java HotSpot(TM) 64-Bit Server VM (build 23.7-b01, mixed mode)
Met vriendelijke groeten
Arkadi Colson
Smartbit bvba • Hoogstraat 13 • 3670 Meeuwen
T +32 11 64 08 80 • F +32 11 64 08 81
On 04/29/2013 03:24 PM, Michael Della Bitta wrote:
That means that documents will be indexed and stored on the node
they're sent to. It shouldn't keep Solr Cloud from loadbalancing
reads. Fixing that won't address the problem you're asking about, but
it may clear up other unintended behaviors.
What version of Solr are you using, and what servlet container?
Michael Della Bitta
------------------------------------------------
Appinions
18 East 41st Street, 2nd Floor
New York, NY 10017-6271
www.appinions.com
Where Influence Isn’t a Game
On Mon, Apr 29, 2013 at 9:20 AM, Arkadi Colson
<ark...@smartbit.be> wrote:
I found this in the zookeeper directory /collections/collectionX/
{
"configName":"smsc",
"router":"implicit"}
Is "router:implicit" the cause of this? Is it possible to fix?
Thx!
On 04/29/2013 01:24 PM, Arkadi Colson wrote:
Is it correct that if I create a collection B with parameter
createNodeSet
= hostB and I query on hostA something for collectionA it could
not be
found?
BR,
Arkadi