You are viewing a plain text version of this content. The canonical link for it is here.
Posted to solr-user@lucene.apache.org by joeo <jo...@ngc.com> on 2013/08/30 21:15:11 UTC
ArrayIndexOutOfBoundsException Solr 4.4.0 - Cloud display
Hi! I've been using Solr Cloud 4.3.1 with zookeeper and a several shard
setup. When I try to use Solr Cloud 4.4.0, and bring up a 2 shard setup, it
seems to load fine without errors. However when I go to the web interface
and click 'cloud' an exception is thrown:
43242 [qtp965223859-14] WARN org.eclipse.jetty.servlet.ServletHandler รข
/solr/zookeeper
java.lang.ArrayIndexOutOfBoundsException: 213
at
org.apache.lucene.util.UnicodeUtil.UTF8toUTF16(UnicodeUtil.java:620)
at org.apache.lucene.util.BytesRef.utf8ToString(BytesRef.java:168)
at
org.apache.solr.servlet.ZookeeperInfoServlet$ZKPrinter.printTree(ZookeeperInfoServlet.java:303)
at
org.apache.solr.servlet.ZookeeperInfoServlet$ZKPrinter.printTree(ZookeeperInfoServlet.java:339)
at
org.apache.solr.servlet.ZookeeperInfoServlet$ZKPrinter.printTree(ZookeeperInfoServlet.java:339)
at
org.apache.solr.servlet.ZookeeperInfoServlet$ZKPrinter.printTree(ZookeeperInfoServlet.java:339)
at
org.apache.solr.servlet.ZookeeperInfoServlet$ZKPrinter.printTree(ZookeeperInfoServlet.java:339)
at
org.apache.solr.servlet.ZookeeperInfoServlet$ZKPrinter.print(ZookeeperInfoServlet.java:228)
at
org.apache.solr.servlet.ZookeeperInfoServlet.doGet(ZookeeperInfoServlet.java:106)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:735)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:848)
at
org.eclipse.jetty.servlet.ServletHolder.handle(ServletHolder.java:669)
at
org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1448)
at
org.apache.solr.servlet.SolrDispatchFilter.doFilter(SolrDispatchFilter.java:399)
at
org.apache.solr.servlet.SolrDispatchFilter.doFilter(SolrDispatchFilter.java:158)
at
org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1419)
at
org.eclipse.jetty.servlet.ServletHandler.doHandle(ServletHandler.java:455)
at
org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:137)
at
org.eclipse.jetty.security.SecurityHandler.handle(SecurityHandler.java:557)
at
org.eclipse.jetty.server.session.SessionHandler.doHandle(SessionHandler.java:231)
at
org.eclipse.jetty.server.handler.ContextHandler.doHandle(ContextHandler.java:1075)
at
org.eclipse.jetty.servlet.ServletHandler.doScope(ServletHandler.java:384)
at
org.eclipse.jetty.server.session.SessionHandler.doScope(SessionHandler.java:193)
at
org.eclipse.jetty.server.handler.ContextHandler.doScope(ContextHandler.java:1009)
at
org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:135)
at
org.eclipse.jetty.server.handler.ContextHandlerCollection.handle(ContextHandlerCollection.java:255)
at
org.eclipse.jetty.server.handler.HandlerCollection.handle(HandlerCollection.java:154)
at
org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:116)
at org.eclipse.jetty.server.Server.handle(Server.java:368)
at
org.eclipse.jetty.server.AbstractHttpConnection.handleRequest(AbstractHttpConnection.java:489)
at
org.eclipse.jetty.server.BlockingHttpConnection.handleRequest(BlockingHttpConnection.java:53)
at
org.eclipse.jetty.server.AbstractHttpConnection.headerComplete(AbstractHttpConnection.java:942)
at
org.eclipse.jetty.server.AbstractHttpConnection$RequestHandler.headerComplete(AbstractHttpConnection.java:1004)
at org.eclipse.jetty.http.HttpParser.parseNext(HttpParser.java:640)
at
org.eclipse.jetty.http.HttpParser.parseAvailable(HttpParser.java:235)
at
org.eclipse.jetty.server.BlockingHttpConnection.handle(BlockingHttpConnection.java:72)
at
org.eclipse.jetty.server.bio.SocketConnector$ConnectorEndPoint.run(SocketConnector.java:264)
at
org.eclipse.jetty.util.thread.QueuedThreadPool.runJob(QueuedThreadPool.java:608)
at
org.eclipse.jetty.util.thread.QueuedThreadPool$3.run(QueuedThreadPool.java:543)
at java.lang.Thread.run(Thread.java:619)
This happens with a 2 shard or 40 shard setup. Has anyone seen this before?
Thank you!
Joe Obernberger
--
View this message in context: http://lucene.472066.n3.nabble.com/ArrayIndexOutOfBoundsException-Solr-4-4-0-Cloud-display-tp4087567.html
Sent from the Solr - User mailing list archive at Nabble.com.
Re: ArrayIndexOutOfBoundsException Solr 4.4.0 - Cloud display
Posted by joeo <jo...@ngc.com>.
Hoss - thank you very very much! This gets me moving again.
<http://lucene.472066.n3.nabble.com/file/n4087591/Cluster1.jpg>
-Joe Obernberger
--
View this message in context: http://lucene.472066.n3.nabble.com/ArrayIndexOutOfBoundsException-Solr-4-4-0-Cloud-display-tp4087567p4087591.html
Sent from the Solr - User mailing list archive at Nabble.com.
Re: ArrayIndexOutOfBoundsException Solr 4.4.0 - Cloud display
Posted by Chris Hostetter <ho...@fucit.org>.
: I changed my zkhost to not use the root level and now it works. I went from
Thanks for that feedback Joe -- i've updated SOLR-3852 to clarify the
underlying cause of the problem and pointed out the possible work
arround as you uncovered/confirmed.
I've also uploaded a patch if you'd like to test it out.
https://issues.apache.org/jira/browse/SOLR-3852
-Hoss
Re: ArrayIndexOutOfBoundsException Solr 4.4.0 - Cloud display
Posted by joeo <jo...@ngc.com>.
I changed my zkhost to not use the root level and now it works. I went from
using:
-DzkHost=host1.domain.com:2181,host2.domain.com:2181,host3.domain.com:2181
to
-DzkHost=host1.domain.com:2181,host2.domain.com:2181,host3.domain.com:2181/s440
which places all the zookeeper values from Solr into the 'subdirectory'
s440. Now the cloud display works!
Joe Obernberger
--
View this message in context: http://lucene.472066.n3.nabble.com/ArrayIndexOutOfBoundsException-Solr-4-4-0-Cloud-display-tp4087567p4087578.html
Sent from the Solr - User mailing list archive at Nabble.com.
Re: ArrayIndexOutOfBoundsException Solr 4.4.0 - Cloud display
Posted by joeo <jo...@ngc.com>.
Thank you for the reply. Is there any work around available? Could it be
related to the number of external zookeeper servers?
--
View this message in context: http://lucene.472066.n3.nabble.com/ArrayIndexOutOfBoundsException-Solr-4-4-0-Cloud-display-tp4087567p4087573.html
Sent from the Solr - User mailing list archive at Nabble.com.
Re: ArrayIndexOutOfBoundsException Solr 4.4.0 - Cloud display
Posted by Chris Hostetter <ho...@fucit.org>.
: Hi! I've been using Solr Cloud 4.3.1 with zookeeper and a several shard
: setup. When I try to use Solr Cloud 4.4.0, and bring up a 2 shard setup, it
: seems to load fine without errors. However when I go to the web interface
: and click 'cloud' an exception is thrown:
This looks like SOLR-3852 ... i'm not really sure what the goal was with
that code in question, but i'm going to go ahead and rip it out. since
it's unused.
-Hoss