SHARE
TWEET

NLP patch with Solr

cronysatish Dec 22nd, 2015 44 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. 2015-12-21 10:18:58,073 ERROR org.apache.solr.core.CoreContainer: Error creating core [OpenNLP_shard1_replica1]: Could not load conf for core OpenNLP_shard1_replica1: Plugin init failure for [schema.xml] fieldType "text_opennlp_pos": Plugin init failure for [schema.xml] analyzer/tokenizer: Error loading class 'solr.OpenNLPTokenizerFactory'. Schema file is /configs/OpenNLP/schema.xml
  2. org.apache.solr.common.SolrException: Could not load conf for core OpenNLP_shard1_replica1: Plugin init failure for [schema.xml] fieldType "text_opennlp_pos": Plugin init failure for [schema.xml] analyzer/tokenizer: Error loading class 'solr.OpenNLPTokenizerFactory'. Schema file is /configs/OpenNLP/schema.xml
  3.         at org.apache.solr.core.ConfigSetService.getConfig(ConfigSetService.java:66)
  4.         at org.apache.solr.core.CoreContainer.create(CoreContainer.java:493)
  5.         at org.apache.solr.core.CoreContainer.create(CoreContainer.java:470)
  6.         at org.apache.solr.handler.admin.CoreAdminHandler.handleCreateAction(CoreAdminHandler.java:576)
  7.         at org.apache.solr.handler.admin.CoreAdminHandler.handleRequestInternal(CoreAdminHandler.java:200)
  8.         at org.apache.solr.handler.admin.CoreAdminHandler.handleRequestBody(CoreAdminHandler.java:189)
  9.         at org.apache.solr.handler.RequestHandlerBase.handleRequest(RequestHandlerBase.java:135)
  10.         at org.apache.solr.servlet.SolrDispatchFilter.handleAdminRequest(SolrDispatchFilter.java:770)
  11.         at org.apache.solr.servlet.SolrDispatchFilter.doFilter(SolrDispatchFilter.java:262)
  12.         at org.apache.solr.servlet.SolrDispatchFilter.doFilter(SolrDispatchFilter.java:211)
  13.         at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
  14.         at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
  15.         at org.apache.solr.servlet.SolrHadoopAuthenticationFilter$2.doFilter(SolrHadoopAuthenticationFilter.java:288)
  16.         at org.apache.hadoop.security.authentication.server.AuthenticationFilter.doFilter(AuthenticationFilter.java:592)
  17.         at org.apache.hadoop.security.token.delegation.web.DelegationTokenAuthenticationFilter.doFilter(DelegationTokenAuthenticationFilter.java:291)
  18.         at org.apache.hadoop.security.authentication.server.AuthenticationFilter.doFilter(AuthenticationFilter.java:555)
  19.         at org.apache.solr.servlet.SolrHadoopAuthenticationFilter.doFilter(SolrHadoopAuthenticationFilter.java:293)
  20.         at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
  21.         at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
  22.         at org.apache.solr.servlet.HostnameFilter.doFilter(HostnameFilter.java:86)
  23.         at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
  24.         at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
  25.         at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233)
  26.         at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)
  27.         at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
  28.         at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:103)
  29.         at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
  30.         at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:293)
  31.         at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
  32.         at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
  33.         at org.apache.solr.servlet.HostnameFilter.doFilter(HostnameFilter.java:86)
  34.         at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
  35.         at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
  36.         at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233)
  37.         at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)
  38.         at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
  39.         at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:103)
  40.         at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
  41.         at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:293)
  42.         at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:861)
  43.         at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:620)
  44.         at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:489)
  45.         at java.lang.Thread.run(Thread.java:745)
  46. Caused by: org.apache.solr.common.SolrException: Plugin init failure for [schema.xml] fieldType "text_opennlp_pos": Plugin init failure for [schema.xml] analyzer/tokenizer: Error loading class 'solr.OpenNLPTokenizerFactory'. Schema file is /configs/OpenNLP/schema.xml
  47.         at org.apache.solr.schema.IndexSchema.readSchema(IndexSchema.java:595)
  48.         at org.apache.solr.schema.IndexSchema.<init>(IndexSchema.java:166)
  49.         at org.apache.solr.schema.IndexSchemaFactory.create(IndexSchemaFactory.java:55)
  50.         at org.apache.solr.schema.IndexSchemaFactory.buildIndexSchema(IndexSchemaFactory.java:69)
  51.         at org.apache.solr.core.ConfigSetService.createIndexSchema(ConfigSetService.java:90)
  52.         at org.apache.solr.core.ConfigSetService.getConfig(ConfigSetService.java:62)
  53.         ... 31 more
  54. Caused by: org.apache.solr.common.SolrException: Plugin init failure for [schema.xml] fieldType "text_opennlp_pos": Plugin init failure for [schema.xml] analyzer/tokenizer: Error loading class 'solr.OpenNLPTokenizerFactory'
  55.         at org.apache.solr.util.plugin.AbstractPluginLoader.load(AbstractPluginLoader.java:177)
  56.         at org.apache.solr.schema.IndexSchema.readSchema(IndexSchema.java:486)
  57.         ... 36 more
  58. Caused by: org.apache.solr.common.SolrException: Plugin init failure for [schema.xml] analyzer/tokenizer: Error loading class 'solr.OpenNLPTokenizerFactory'
  59.         at org.apache.solr.util.plugin.AbstractPluginLoader.load(AbstractPluginLoader.java:177)
  60.         at org.apache.solr.schema.FieldTypePluginLoader.readAnalyzer(FieldTypePluginLoader.java:362)
  61.         at org.apache.solr.schema.FieldTypePluginLoader.create(FieldTypePluginLoader.java:95)
  62.         at org.apache.solr.schema.FieldTypePluginLoader.create(FieldTypePluginLoader.java:43)
  63.         at org.apache.solr.util.plugin.AbstractPluginLoader.load(AbstractPluginLoader.java:151)
  64.         ... 37 more
  65. Caused by: org.apache.solr.common.SolrException: Error loading class 'solr.OpenNLPTokenizerFactory'
  66.         at org.apache.solr.core.SolrResourceLoader.findClass(SolrResourceLoader.java:490)
  67.         at org.apache.solr.core.SolrResourceLoader.newInstance(SolrResourceLoader.java:593)
  68.         at org.apache.solr.schema.FieldTypePluginLoader$2.create(FieldTypePluginLoader.java:342)
  69.         at org.apache.solr.schema.FieldTypePluginLoader$2.create(FieldTypePluginLoader.java:335)
  70.         at org.apache.solr.util.plugin.AbstractPluginLoader.load(AbstractPluginLoader.java:151)
  71.         ... 41 more
  72. Caused by: java.lang.ClassNotFoundException: solr.OpenNLPTokenizerFactory
  73.         at java.net.URLClassLoader$1.run(URLClassLoader.java:366)
  74.         at java.net.URLClassLoader$1.run(URLClassLoader.java:355)
  75.         at java.security.AccessController.doPrivileged(Native Method)
  76.         at java.net.URLClassLoader.findClass(URLClassLoader.java:354)
  77.         at java.lang.ClassLoader.loadClass(ClassLoader.java:425)
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top