Created on 09-19-2013 06:50 AM - edited 09-16-2022 01:48 AM
Hi all
I am testing CDH 4.4 on cluster with 25 nodes, already installed cloudera search, I have running solr servers correctly
but have problem with adding collections, I generated a skeleton of the instance directory:
[solr@hadoop ~]$ solrctl instancedir --list
collection1
after that creating collection gives an error:
[solr@hadoop ~]$ solrctl collection --create collection1 -s 2
Error: A call to SolrCloud WEB APIs failed: HTTP/1.1 500 Internal Server Error
Server: Apache-Coyote/1.1
Content-Type: application/xml;charset=UTF-8
Transfer-Encoding: chunked
Date: Thu, 19 Sep 2013 12:47:50 GMT
Connection: close
<?xml version="1.0" encoding="UTF-8"?>
<response>
<lst name="responseHeader">
<int name="status">
500</int>
<int name="QTime">
60012</int>
</lst>
<lst name="error">
<str name="msg">
createcollection the collection time out:60s</str>
<str name="trace">
org.apache.solr.common.SolrException: createcollection the collection time out:60s
at org.apache.solr.handler.admin.CollectionsHandler.handleResponse(CollectionsHandler.java:175)
at org.apache.solr.handler.admin.CollectionsHandler.handleResponse(CollectionsHandler.java:156)
at org.apache.solr.handler.admin.CollectionsHandler.handleCreateAction(CollectionsHandler.java:290)
at org.apache.solr.handler.admin.CollectionsHandler.handleRequestBody(CollectionsHandler.java:112)
at org.apache.solr.handler.RequestHandlerBase.handleRequest(RequestHandlerBase.java:135)
at org.apache.solr.servlet.SolrDispatchFilter.handleAdminRequest(SolrDispatchFilter.java:666)
at org.apache.solr.servlet.SolrDispatchFilter.doFilter(SolrDispatchFilter.java:224)
at org.apache.solr.servlet.SolrDispatchFilter.doFilter(SolrDispatchFilter.java:164)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at org.apache.solr.servlet.SolrHadoopAuthenticationFilter.doFilter(SolrHadoopAuthenticationFilter.java:131)
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:191)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
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:293)
at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:859)
at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:602)
at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:489)
at java.lang.Thread.run(Thread.java:662)
</str>
<int name="code">
500</int>
</lst>
</response>
have some idea?
thank you anyway
Created 09-25-2013 11:15 AM
Hi @shota
We will help you figure out the problem! 🙂
FYI, if you are using CM; you needn't install any Solr packages manually. CM does the complete setup for you.
From what i understand from your previous comment, you installed some solr packages manually and just to make sure we are on right setup, executing "$ ps -elf | grep solr" should result in listing only one solr process running in your system.
Once you have confirmed this, you can try refreshing the entire service.. (Assuming you have no stored data in Solr)
Now you can try creating some collections..
-Vamsee
Created 10-16-2013 10:31 AM
Hello,
Just to clarify, are you trying to do:
sudo apt-get install solr-server and not manager
or:
sudo apt-get install solr-server
Can you attach the contents of this file:
/etc/apt/sources.list
Thanks
Chris