lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Mark Miller (Updated) (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (SOLR-2622) ShowFileRequestHandler does not work in SolrCloud mode.
Date Wed, 01 Feb 2012 15:58:58 GMT

     [ https://issues.apache.org/jira/browse/SOLR-2622?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Mark Miller updated SOLR-2622:
------------------------------

    Summary: ShowFileRequestHandler does not work in SolrCloud mode.  (was: ZkSolrResourceLoader
does not support getConfigDir())
    
> ShowFileRequestHandler does not work in SolrCloud mode.
> -------------------------------------------------------
>
>                 Key: SOLR-2622
>                 URL: https://issues.apache.org/jira/browse/SOLR-2622
>             Project: Solr
>          Issue Type: Bug
>          Components: SolrCloud, web gui
>         Environment: SVN-Revision: {{1139570}}
> Startup-Command: {{cd solr/example && java -Dbootstrap_confdir=./solr/conf -Dcollection.configName=myconf
-DzkRun -jar start.jar}}
>            Reporter: Stefan Matheis (steffkes)
>            Assignee: Mark Miller
>            Priority: Minor
>             Fix For: 4.0
>
>
> Requesting {{/solr/admin/file/?contentType=text/xml;charset=utf-8&file=schema.xml}}
generates an HTTP 500:
> {code}org.apache.solr.common.cloud.ZooKeeperException: ZkSolrResourceLoader does not
support getConfigDir() - likely, what you are trying to do is not supported in ZooKeeper mode
> 	at org.apache.solr.cloud.ZkSolrResourceLoader.getConfigDir(ZkSolrResourceLoader.java:99)
> 	at org.apache.solr.handler.admin.ShowFileRequestHandler.handleRequestBody(ShowFileRequestHandler.java:126)
> 	at org.apache.solr.handler.RequestHandlerBase.handleRequest(RequestHandlerBase.java:129)
> 	at org.apache.solr.core.SolrCore.execute(SolrCore.java:1316)
> 	at org.apache.solr.servlet.SolrDispatchFilter.execute(SolrDispatchFilter.java:353)
> 	at org.apache.solr.servlet.SolrDispatchFilter.doFilter(SolrDispatchFilter.java:248)
> 	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){code}
> It's not related to a specific file, requesting {{/solr/admin/file}} is enough.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

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


Mime
View raw message