Unable to create core: collection1

Samebug tips10

This might be an issue with the file location in the Spark submit command. Try it with "spark-submit --master spark://master:7077 {file location}"

Check if you've set a name in Application -> Run. If you didn't, the generated XML is gonna have missing information and then this exception will be thrown.

Don't give up yet. Our experts can help. Paste your full stack trace to get a solution.

Solutions on the web728

  • Unable to create core: collection1
  • Unable to create core: collection1
  • Stack trace

    • org.apache.solr.common.SolrException: Unable to create core: collection1 at org.apache.solr.core.CoreContainer.recordAndThrow( at org.apache.solr.core.CoreContainer.create( at org.apache.solr.core.CoreContainer$ at org.apache.solr.core.CoreContainer$ at java.util.concurrent.FutureTask$Sync.innerRun( at at java.util.concurrent.Executors$ at java.util.concurrent.FutureTask$Sync.innerRun( at at java.util.concurrent.ThreadPoolExecutor$Worker.runTask( at java.util.concurrent.ThreadPoolExecutor$ at Caused by: org.apache.solr.common.SolrException: RequestHandler init failure at org.apache.solr.core.SolrCore.<init>( at org.apache.solr.core.SolrCore.<init>( at org.apache.solr.core.CoreContainer.createFromLocal( at org.apache.solr.core.CoreContainer.create( ... 10 more Caused by: org.apache.solr.common.SolrException: RequestHandler init failure at org.apache.solr.core.RequestHandlers.initHandlersFromConfig( at org.apache.solr.core.SolrCore.<init>( ... 13 more Caused by: org.apache.solr.common.SolrException: Error loading class 'org.apache.solr.handler.dataimport.DataImportHandler' at org.apache.solr.core.SolrResourceLoader.findClass( at org.apache.solr.core.SolrCore.createInstance( at org.apache.solr.core.SolrCore.createRequestHandler( at org.apache.solr.core.RequestHandlers.initHandlersFromConfig( ... 14 more Caused by: java.lang.ClassNotFoundException: org.apache.solr.handler.dataimport.DataImportHandler at$ at Method) at at java.lang.ClassLoader.loadClass( at at java.lang.ClassLoader.loadClass( at java.lang.Class.forName0(Native Method) at java.lang.Class.forName( at org.apache.solr.core.SolrResourceLoader.findClass( ... 17 more

    Write tip

    You have a different solution? A short tip here would help you and many other users who saw this issue last week.

    Users with the same issue

    Unknown user
    Once, 2 years ago
    Once, 1 day ago
    26 times, 2 days ago
    30 times, 4 days ago
    Once, 1 week ago
    1380 more bugmates