Reply
New Contributor
Posts: 3
Registered: ‎08-04-2015

Cloudera Search

[ Edited ]

I am running into NoClassDefFoundError when trying to use carrot2 clustering for solr collection (error stack below). Below error message is thrown when running command - solrctl collection --create findrclust1 -s 1 

 

 

Caused by: org.apache.solr.common.SolrException: Unable to create core [findrclust1_shard1_replica1]
at org.apache.solr.core.CoreContainer.create(CoreContainer.java:596)
at org.apache.solr.core.CoreContainer.create(CoreContainer.java:523)
at org.apache.solr.handler.admin.CoreAdminHandler.handleCreateAction(CoreAdminHandler.java:795)
... 26 more
Caused by: org.apache.solr.common.SolrException: org/carrot2/core/ControllerFactory
at org.apache.solr.core.SolrCore.<init>(SolrCore.java:974)
at org.apache.solr.core.SolrCore.<init>(SolrCore.java:754)
at org.apache.solr.core.CoreContainer.create(CoreContainer.java:551)
... 28 more
Caused by: java.lang.NoClassDefFoundError: org/carrot2/core/ControllerFactory
at org.apache.solr.handler.clustering.carrot2.CarrotClusteringEngine.<init>(CarrotClusteringEngine.java:107)
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
at java.lang.reflect.Constructor.newInstance(Constructor.java:423)
at java.lang.Class.newInstance(Class.java:442)
at org.apache.solr.core.SolrResourceLoader.newInstance(SolrResourceLoader.java:529)
at org.apache.solr.core.SolrResourceLoader.newInstance(SolrResourceLoader.java:517)
at org.apache.solr.handler.clustering.ClusteringComponent.inform(ClusteringComponent.java:116)
at org.apache.solr.core.SolrResourceLoader.inform(SolrResourceLoader.java:651)
at org.apache.solr.core.SolrCore.<init>(SolrCore.java:957)
... 30 more
Caused by: java.lang.ClassNotFoundException: org.carrot2.core.ControllerFactory
at java.net.URLClassLoader.findClass(URLClassLoader.java:381)
at java.lang.ClassLoader.loadClass(ClassLoader.java:424)
at java.net.FactoryURLClassLoader.loadClass(URLClassLoader.java:814)
at java.lang.ClassLoader.loadClass(ClassLoader.java:357)

Announcements