Hi All,

I am getting an exception on unloading a core from solr. This happens only
in the case where the core name and the collection name is same. I am
getting the below mentioned exception on using solrj as well as solr admin
UI.
I have a configuration of 1 leader and 1 replica with the core name same as
that of collection on both the machine. the exception is as follows

819443 [http-8192-3] ERROR org.apache.solr.servlet.SolrDispatchFilter  –
null:org.apache.solr.common.SolrException: Error trying to proxy request for
url: http://192.168.0.44:8192/solr/BAN-1272336463/get
        at
org.apache.solr.servlet.SolrDispatchFilter.remoteQuery(SolrDispatchFilter.java:497)
        at
org.apache.solr.servlet.SolrDispatchFilter.doFilter(SolrDispatchFilter.java:267)
        at
org.apache.solr.servlet.SolrDispatchFilter.doFilter(SolrDispatchFilter.java:155)
        at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
        at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
        at
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233)
        at
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:175)
        at
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:128)
        at
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
        at
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
        at
org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:263)
        at
org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:844)
        at
org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:584)
        at
org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:447)
        at java.lang.Thread.run(Thread.java:619)
Caused by: java.io.FileNotFoundException:
http://192.168.0.44:8192/solr/BAN-1272336463/get
        at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native
Method)
        at
sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
        at
sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
        at java.lang.reflect.Constructor.newInstance(Constructor.java:513)
        at
sun.net.www.protocol.http.HttpURLConnection$6.run(HttpURLConnection.java:1368)
        at java.security.AccessController.doPrivileged(Native Method)
        at
sun.net.www.protocol.http.HttpURLConnection.getChainedException(HttpURLConnection.java:1362)
        at
sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:1016)
        at
org.apache.solr.servlet.SolrDispatchFilter.remoteQuery(SolrDispatchFilter.java:484)
        ... 14 more
Caused by: java.io.FileNotFoundException:
http://192.168.0.44:8192/solr/BAN-1272336463/get
        at
sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:1311)
        at
java.net.HttpURLConnection.getResponseCode(HttpURLConnection.java:373)
        at
org.apache.solr.servlet.SolrDispatchFilter.remoteQuery(SolrDispatchFilter.java:472)
        ... 14 more

where coreName = collection name = BAN-1272336463

As anybody else facing a similar issue and is there any work around.

One important thing to note might be that this is not creating any problem
in core unload as well as querying on the remaining node

Any help would be appreciated

Regards,
Vicky




--
View this message in context: 
http://lucene.472066.n3.nabble.com/Exception-on-solr-Unload-tp4082459.html
Sent from the Solr - User mailing list archive at Nabble.com.

Reply via email to