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 Jamie Johnson <je...@gmail.com> on 2012/02/09 16:29:24 UTC

Zookeeper view not displaying on latest trunk

I'm looking at the latest code on trunk and it seems as if the
zookeeper view does not work.  When trying to access the information I
get the following in the log


2012-02-09 10:28:49.030:WARN::/solr/zookeeper.jsp
java.lang.NullPointerException
	at org.apache.jsp.zookeeper_jsp$ZKPrinter.<init>(org.apache.jsp.zookeeper_jsp:55)
	at org.apache.jsp.zookeeper_jsp._jspService(org.apache.jsp.zookeeper_jsp:533)
	at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:109)
	at javax.servlet.http.HttpServlet.service(HttpServlet.java:820)
	at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:389)
	at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:486)
	at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:380)
	at javax.servlet.http.HttpServlet.service(HttpServlet.java:820)
	at org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java:511)
	at org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1221)
	at org.apache.solr.servlet.SolrDispatchFilter.doFilter(SolrDispatchFilter.java:280)
	at org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1212)
	at org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:399)
	at org.mortbay.jetty.security.SecurityHandler.handle(SecurityHandler.java:216)
	at org.mortbay.jetty.servlet.SessionHandler.handle(SessionHandler.java:182)
	at org.mortbay.jetty.handler.ContextHandler.handle(ContextHandler.java:766)
	at org.mortbay.jetty.webapp.WebAppContext.handle(WebAppContext.java:450)
	at org.mortbay.jetty.handler.ContextHandlerCollection.handle(ContextHandlerCollection.java:230)
	at org.mortbay.jetty.handler.HandlerCollection.handle(HandlerCollection.java:114)
	at org.mortbay.jetty.handler.HandlerWrapper.handle(HandlerWrapper.java:152)
	at org.mortbay.jetty.Server.handle(Server.java:326)
	at org.mortbay.jetty.HttpConnection.handleRequest(HttpConnection.java:542)
	at org.mortbay.jetty.HttpConnection$RequestHandler.headerComplete(HttpConnection.java:928)
	at org.mortbay.jetty.HttpParser.parseNext(HttpParser.java:549)
	at org.mortbay.jetty.HttpParser.parseAvailable(HttpParser.java:212)
	at org.mortbay.jetty.HttpConnection.handle(HttpConnection.java:404)
	at org.mortbay.jetty.bio.SocketConnector$Connection.run(SocketConnector.java:228)
	at org.mortbay.thread.QueuedThreadPool$PoolThread.run(QueuedThreadPool.java:582)

Re: Zookeeper view not displaying on latest trunk

Posted by Jamie Johnson <je...@gmail.com>.
I have not pulled the latest (I am pulled a week or 2 ago) and it
works on that version.


On Mon, Mar 12, 2012 at 11:40 AM, Stefan Matheis
<ma...@googlemail.com> wrote:
> Jamie, would you mind to give the latest another try, if the Cloud-Tab is working as it should?
>
> On Thursday, February 9, 2012 at 6:57 PM, Mark Miller wrote:
>
>>
>> On Feb 9, 2012, at 12:09 PM, Jamie Johnson wrote:
>>
>> > To get this to work I had to modify my solr.xml to add a
>> > defaultCoreName, then everything worked fine on the old interface
>> > (/solr/admin). The new interface was still unhappy and looking at the
>> > response that comes back I see the following
>> >
>> > {"status": 404, "error" : "Zookeeper is not configured for this Solr
>> > Core. Please try connecting to an alternate zookeeper address."}
>> >
>> > Does the new interface support multiple cores?
>>
>> It should, but someone else wrote it, so I don't know offhand - sounds like a issue we need to look at.
>>
>>
>> > Should the old
>> > interface require that defaultCoreName be set?
>>
>>
>>
>> No - another thing we should look at.
>>
>> >
>> > On Thu, Feb 9, 2012 at 10:29 AM, Jamie Johnson <jej2003@gmail.com (mailto:jej2003@gmail.com)> wrote:
>> > > I'm looking at the latest code on trunk and it seems as if the
>> > > zookeeper view does not work. When trying to access the information I
>> > > get the following in the log
>> > >
>> > >
>> > > 2012-02-09 10:28:49.030:WARN::/solr/zookeeper.jsp
>> > > java.lang.NullPointerException
>> > > at org.apache.jsp.zookeeper_jsp$ZKPrinter.<init>(org.apache.jsp.zookeeper_jsp:55)
>> > > at org.apache.jsp.zookeeper_jsp._jspService(org.apache.jsp.zookeeper_jsp:533)
>> > > at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:109)
>> > > at javax.servlet.http.HttpServlet.service(HttpServlet.java:820)
>> > > at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:389)
>> > > at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:486)
>> > > at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:380)
>> > > at javax.servlet.http.HttpServlet.service(HttpServlet.java:820)
>> > > at org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java:511)
>> > > at org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1221)
>> > > at org.apache.solr.servlet.SolrDispatchFilter.doFilter(SolrDispatchFilter.java:280)
>> > > at org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1212)
>> > > at org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:399)
>> > > at org.mortbay.jetty.security.SecurityHandler.handle(SecurityHandler.java:216)
>> > > at org.mortbay.jetty.servlet.SessionHandler.handle(SessionHandler.java:182)
>> > > at org.mortbay.jetty.handler.ContextHandler.handle(ContextHandler.java:766)
>> > > at org.mortbay.jetty.webapp.WebAppContext.handle(WebAppContext.java:450)
>> > > at org.mortbay.jetty.handler.ContextHandlerCollection.handle(ContextHandlerCollection.java:230)
>> > > at org.mortbay.jetty.handler.HandlerCollection.handle(HandlerCollection.java:114)
>> > > at org.mortbay.jetty.handler.HandlerWrapper.handle(HandlerWrapper.java:152)
>> > > at org.mortbay.jetty.Server.handle(Server.java:326)
>> > > at org.mortbay.jetty.HttpConnection.handleRequest(HttpConnection.java:542)
>> > > at org.mortbay.jetty.HttpConnection$RequestHandler.headerComplete(HttpConnection.java:928)
>> > > at org.mortbay.jetty.HttpParser.parseNext(HttpParser.java:549)
>> > > at org.mortbay.jetty.HttpParser.parseAvailable(HttpParser.java:212)
>> > > at org.mortbay.jetty.HttpConnection.handle(HttpConnection.java:404)
>> > > at org.mortbay.jetty.bio.SocketConnector$Connection.run(SocketConnector.java:228)
>> > > at org.mortbay.thread.QueuedThreadPool$PoolThread.run(QueuedThreadPool.java:582)
>> >
>>
>>
>>
>> - Mark Miller
>> lucidimagination.com (http://lucidimagination.com)
>
>
>

Re: Zookeeper view not displaying on latest trunk

Posted by Stefan Matheis <ma...@googlemail.com>.
Jamie, would you mind to give the latest another try, if the Cloud-Tab is working as it should? 

On Thursday, February 9, 2012 at 6:57 PM, Mark Miller wrote:

> 
> On Feb 9, 2012, at 12:09 PM, Jamie Johnson wrote:
> 
> > To get this to work I had to modify my solr.xml to add a
> > defaultCoreName, then everything worked fine on the old interface
> > (/solr/admin). The new interface was still unhappy and looking at the
> > response that comes back I see the following
> > 
> > {"status": 404, "error" : "Zookeeper is not configured for this Solr
> > Core. Please try connecting to an alternate zookeeper address."}
> > 
> > Does the new interface support multiple cores?
> 
> It should, but someone else wrote it, so I don't know offhand - sounds like a issue we need to look at.
> 
> 
> > Should the old
> > interface require that defaultCoreName be set?
> 
> 
> 
> No - another thing we should look at.
> 
> > 
> > On Thu, Feb 9, 2012 at 10:29 AM, Jamie Johnson <jej2003@gmail.com (mailto:jej2003@gmail.com)> wrote:
> > > I'm looking at the latest code on trunk and it seems as if the
> > > zookeeper view does not work. When trying to access the information I
> > > get the following in the log
> > > 
> > > 
> > > 2012-02-09 10:28:49.030:WARN::/solr/zookeeper.jsp
> > > java.lang.NullPointerException
> > > at org.apache.jsp.zookeeper_jsp$ZKPrinter.<init>(org.apache.jsp.zookeeper_jsp:55)
> > > at org.apache.jsp.zookeeper_jsp._jspService(org.apache.jsp.zookeeper_jsp:533)
> > > at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:109)
> > > at javax.servlet.http.HttpServlet.service(HttpServlet.java:820)
> > > at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:389)
> > > at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:486)
> > > at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:380)
> > > at javax.servlet.http.HttpServlet.service(HttpServlet.java:820)
> > > at org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java:511)
> > > at org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1221)
> > > at org.apache.solr.servlet.SolrDispatchFilter.doFilter(SolrDispatchFilter.java:280)
> > > at org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1212)
> > > at org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:399)
> > > at org.mortbay.jetty.security.SecurityHandler.handle(SecurityHandler.java:216)
> > > at org.mortbay.jetty.servlet.SessionHandler.handle(SessionHandler.java:182)
> > > at org.mortbay.jetty.handler.ContextHandler.handle(ContextHandler.java:766)
> > > at org.mortbay.jetty.webapp.WebAppContext.handle(WebAppContext.java:450)
> > > at org.mortbay.jetty.handler.ContextHandlerCollection.handle(ContextHandlerCollection.java:230)
> > > at org.mortbay.jetty.handler.HandlerCollection.handle(HandlerCollection.java:114)
> > > at org.mortbay.jetty.handler.HandlerWrapper.handle(HandlerWrapper.java:152)
> > > at org.mortbay.jetty.Server.handle(Server.java:326)
> > > at org.mortbay.jetty.HttpConnection.handleRequest(HttpConnection.java:542)
> > > at org.mortbay.jetty.HttpConnection$RequestHandler.headerComplete(HttpConnection.java:928)
> > > at org.mortbay.jetty.HttpParser.parseNext(HttpParser.java:549)
> > > at org.mortbay.jetty.HttpParser.parseAvailable(HttpParser.java:212)
> > > at org.mortbay.jetty.HttpConnection.handle(HttpConnection.java:404)
> > > at org.mortbay.jetty.bio.SocketConnector$Connection.run(SocketConnector.java:228)
> > > at org.mortbay.thread.QueuedThreadPool$PoolThread.run(QueuedThreadPool.java:582)
> > 
> 
> 
> 
> - Mark Miller
> lucidimagination.com (http://lucidimagination.com)




Re: Zookeeper view not displaying on latest trunk

Posted by Mark Miller <ma...@gmail.com>.
On Feb 9, 2012, at 12:09 PM, Jamie Johnson wrote:

> To get this to work I had to modify my solr.xml to add a
> defaultCoreName, then everything worked fine on the old interface
> (/solr/admin).  The new interface was still unhappy and looking at the
> response that comes back I see the following
> 
> {"status": 404, "error" : "Zookeeper is not configured for this Solr
> Core. Please try connecting to an alternate zookeeper address."}
> 
> Does the new interface support multiple cores?

It should, but someone else wrote it, so I don't know offhand - sounds like a issue we need to look at.


>  Should the old
> interface require that defaultCoreName be set?

No - another thing we should look at.

> 
> On Thu, Feb 9, 2012 at 10:29 AM, Jamie Johnson <je...@gmail.com> wrote:
>> I'm looking at the latest code on trunk and it seems as if the
>> zookeeper view does not work.  When trying to access the information I
>> get the following in the log
>> 
>> 
>> 2012-02-09 10:28:49.030:WARN::/solr/zookeeper.jsp
>> java.lang.NullPointerException
>>        at org.apache.jsp.zookeeper_jsp$ZKPrinter.<init>(org.apache.jsp.zookeeper_jsp:55)
>>        at org.apache.jsp.zookeeper_jsp._jspService(org.apache.jsp.zookeeper_jsp:533)
>>        at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:109)
>>        at javax.servlet.http.HttpServlet.service(HttpServlet.java:820)
>>        at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:389)
>>        at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:486)
>>        at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:380)
>>        at javax.servlet.http.HttpServlet.service(HttpServlet.java:820)
>>        at org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java:511)
>>        at org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1221)
>>        at org.apache.solr.servlet.SolrDispatchFilter.doFilter(SolrDispatchFilter.java:280)
>>        at org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1212)
>>        at org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:399)
>>        at org.mortbay.jetty.security.SecurityHandler.handle(SecurityHandler.java:216)
>>        at org.mortbay.jetty.servlet.SessionHandler.handle(SessionHandler.java:182)
>>        at org.mortbay.jetty.handler.ContextHandler.handle(ContextHandler.java:766)
>>        at org.mortbay.jetty.webapp.WebAppContext.handle(WebAppContext.java:450)
>>        at org.mortbay.jetty.handler.ContextHandlerCollection.handle(ContextHandlerCollection.java:230)
>>        at org.mortbay.jetty.handler.HandlerCollection.handle(HandlerCollection.java:114)
>>        at org.mortbay.jetty.handler.HandlerWrapper.handle(HandlerWrapper.java:152)
>>        at org.mortbay.jetty.Server.handle(Server.java:326)
>>        at org.mortbay.jetty.HttpConnection.handleRequest(HttpConnection.java:542)
>>        at org.mortbay.jetty.HttpConnection$RequestHandler.headerComplete(HttpConnection.java:928)
>>        at org.mortbay.jetty.HttpParser.parseNext(HttpParser.java:549)
>>        at org.mortbay.jetty.HttpParser.parseAvailable(HttpParser.java:212)
>>        at org.mortbay.jetty.HttpConnection.handle(HttpConnection.java:404)
>>        at org.mortbay.jetty.bio.SocketConnector$Connection.run(SocketConnector.java:228)
>>        at org.mortbay.thread.QueuedThreadPool$PoolThread.run(QueuedThreadPool.java:582)

- Mark Miller
lucidimagination.com












Re: Zookeeper view not displaying on latest trunk

Posted by Jamie Johnson <je...@gmail.com>.
To get this to work I had to modify my solr.xml to add a
defaultCoreName, then everything worked fine on the old interface
(/solr/admin).  The new interface was still unhappy and looking at the
response that comes back I see the following

{"status": 404, "error" : "Zookeeper is not configured for this Solr
Core. Please try connecting to an alternate zookeeper address."}

Does the new interface support multiple cores?  Should the old
interface require that defaultCoreName be set?

On Thu, Feb 9, 2012 at 10:29 AM, Jamie Johnson <je...@gmail.com> wrote:
> I'm looking at the latest code on trunk and it seems as if the
> zookeeper view does not work.  When trying to access the information I
> get the following in the log
>
>
> 2012-02-09 10:28:49.030:WARN::/solr/zookeeper.jsp
> java.lang.NullPointerException
>        at org.apache.jsp.zookeeper_jsp$ZKPrinter.<init>(org.apache.jsp.zookeeper_jsp:55)
>        at org.apache.jsp.zookeeper_jsp._jspService(org.apache.jsp.zookeeper_jsp:533)
>        at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:109)
>        at javax.servlet.http.HttpServlet.service(HttpServlet.java:820)
>        at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:389)
>        at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:486)
>        at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:380)
>        at javax.servlet.http.HttpServlet.service(HttpServlet.java:820)
>        at org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java:511)
>        at org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1221)
>        at org.apache.solr.servlet.SolrDispatchFilter.doFilter(SolrDispatchFilter.java:280)
>        at org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1212)
>        at org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:399)
>        at org.mortbay.jetty.security.SecurityHandler.handle(SecurityHandler.java:216)
>        at org.mortbay.jetty.servlet.SessionHandler.handle(SessionHandler.java:182)
>        at org.mortbay.jetty.handler.ContextHandler.handle(ContextHandler.java:766)
>        at org.mortbay.jetty.webapp.WebAppContext.handle(WebAppContext.java:450)
>        at org.mortbay.jetty.handler.ContextHandlerCollection.handle(ContextHandlerCollection.java:230)
>        at org.mortbay.jetty.handler.HandlerCollection.handle(HandlerCollection.java:114)
>        at org.mortbay.jetty.handler.HandlerWrapper.handle(HandlerWrapper.java:152)
>        at org.mortbay.jetty.Server.handle(Server.java:326)
>        at org.mortbay.jetty.HttpConnection.handleRequest(HttpConnection.java:542)
>        at org.mortbay.jetty.HttpConnection$RequestHandler.headerComplete(HttpConnection.java:928)
>        at org.mortbay.jetty.HttpParser.parseNext(HttpParser.java:549)
>        at org.mortbay.jetty.HttpParser.parseAvailable(HttpParser.java:212)
>        at org.mortbay.jetty.HttpConnection.handle(HttpConnection.java:404)
>        at org.mortbay.jetty.bio.SocketConnector$Connection.run(SocketConnector.java:228)
>        at org.mortbay.thread.QueuedThreadPool$PoolThread.run(QueuedThreadPool.java:582)