[ https://issues.apache.org/jira/browse/SOLR-14151?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17205277#comment-17205277 ]
Tomas Eduardo Fernandez Lobbe commented on SOLR-14151: ------------------------------------------------------ I believe [this failure|https://jenkins.thetaphi.de/job/Lucene-Solr-8.x-Linux/4533/consoleFull] is also related to the changes here: {noformat} [junit4] 2> 11557 ERROR (qtp351699759-119) [n:127.0.0.1:35307_solr ] o.a.s.h.RequestHandlerBase org.apache.solr.common.SolrException: Error CREATEing SolrCore 'collection1_shard1_replica_n1': Unable to create core [collection1_shard1_replica_n1] Caused by: org.apache.solr.schema.IndexSchema$1 cannot be cast to org.apache.solr.core.SolrResourceLoader [junit4] 2> at org.apache.solr.core.CoreContainer.create(CoreContainer.java:1318) [junit4] 2> at org.apache.solr.handler.admin.CoreAdminOperation.lambda$static$0(CoreAdminOperation.java:95) [junit4] 2> at org.apache.solr.handler.admin.CoreAdminOperation.execute(CoreAdminOperation.java:367) [junit4] 2> at org.apache.solr.handler.admin.CoreAdminHandler$CallInfo.call(CoreAdminHandler.java:397) [junit4] 2> at org.apache.solr.handler.admin.CoreAdminHandler.handleRequestBody(CoreAdminHandler.java:181) [junit4] 2> at org.apache.solr.handler.RequestHandlerBase.handleRequest(RequestHandlerBase.java:214) [junit4] 2> at org.apache.solr.servlet.HttpSolrCall.handleAdmin(HttpSolrCall.java:854) [junit4] 2> at org.apache.solr.servlet.HttpSolrCall.handleAdminRequest(HttpSolrCall.java:818) [junit4] 2> at org.apache.solr.servlet.HttpSolrCall.call(HttpSolrCall.java:566) [junit4] 2> at org.apache.solr.servlet.SolrDispatchFilter.doFilter(SolrDispatchFilter.java:415) [junit4] 2> at org.apache.solr.servlet.SolrDispatchFilter.doFilter(SolrDispatchFilter.java:345) [junit4] 2> at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1604) [junit4] 2> at org.apache.solr.client.solrj.embedded.JettySolrRunner$DebugFilter.doFilter(JettySolrRunner.java:166) [junit4] 2> at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1604) [junit4] 2> at org.eclipse.jetty.servlet.ServletHandler.doHandle(ServletHandler.java:545) [junit4] 2> at org.eclipse.jetty.server.handler.ScopedHandler.nextHandle(ScopedHandler.java:233) [junit4] 2> at org.eclipse.jetty.server.session.SessionHandler.doHandle(SessionHandler.java:1610) [junit4] 2> at org.eclipse.jetty.server.handler.ScopedHandler.nextHandle(ScopedHandler.java:233) [junit4] 2> at org.eclipse.jetty.server.handler.ContextHandler.doHandle(ContextHandler.java:1300) [junit4] 2> at org.eclipse.jetty.server.handler.ScopedHandler.nextScope(ScopedHandler.java:188) [junit4] 2> at org.eclipse.jetty.servlet.ServletHandler.doScope(ServletHandler.java:485) [junit4] 2> at org.eclipse.jetty.server.session.SessionHandler.doScope(SessionHandler.java:1580) [junit4] 2> at org.eclipse.jetty.server.handler.ScopedHandler.nextScope(ScopedHandler.java:186) [junit4] 2> at org.eclipse.jetty.server.handler.ContextHandler.doScope(ContextHandler.java:1215) [junit4] 2> at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:141) [junit4] 2> at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:127) [junit4] 2> at org.eclipse.jetty.rewrite.handler.RewriteHandler.handle(RewriteHandler.java:322) [junit4] 2> at org.eclipse.jetty.server.handler.gzip.GzipHandler.handle(GzipHandler.java:717) [junit4] 2> at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:127) [junit4] 2> at org.eclipse.jetty.server.Server.handle(Server.java:500) [junit4] 2> at org.eclipse.jetty.server.HttpChannel.lambda$handle$1(HttpChannel.java:383) [junit4] 2> at org.eclipse.jetty.server.HttpChannel.dispatch(HttpChannel.java:547) [junit4] 2> at org.eclipse.jetty.server.HttpChannel.handle(HttpChannel.java:375) [junit4] 2> at org.eclipse.jetty.server.HttpConnection.onFillable(HttpConnection.java:273) [junit4] 2> at org.eclipse.jetty.io.AbstractConnection$ReadCallback.succeeded(AbstractConnection.java:311) [junit4] 2> at org.eclipse.jetty.io.FillInterest.fillable(FillInterest.java:103) [junit4] 2> at org.eclipse.jetty.io.ssl.SslConnection$DecryptedEndPoint.onFillable(SslConnection.java:543) [junit4] 2> at org.eclipse.jetty.io.ssl.SslConnection.onFillable(SslConnection.java:398) [junit4] 2> at org.eclipse.jetty.io.ssl.SslConnection$2.succeeded(SslConnection.java:161) [junit4] 2> at org.eclipse.jetty.io.FillInterest.fillable(FillInterest.java:103) [junit4] 2> at org.eclipse.jetty.io.ChannelEndPoint$2.run(ChannelEndPoint.java:117) [junit4] 2> at org.eclipse.jetty.util.thread.QueuedThreadPool.runJob(QueuedThreadPool.java:806) [junit4] 2> at org.eclipse.jetty.util.thread.QueuedThreadPool$Runner.run(QueuedThreadPool.java:938) [junit4] 2> at java.lang.Thread.run(Thread.java:748) [junit4] 2> Caused by: org.apache.solr.common.SolrException: Unable to create core [collection1_shard1_replica_n1] [junit4] 2> at org.apache.solr.core.CoreContainer.createFromDescriptor(CoreContainer.java:1414) [junit4] 2> at org.apache.solr.core.CoreContainer.create(CoreContainer.java:1279) [junit4] 2> ... 43 more [junit4] 2> Caused by: org.apache.solr.common.SolrException: Could not load conf for core collection1_shard1_replica_n1: Can't load schema managed-schema: org.apache.solr.schema.IndexSchema$1 cannot be cast to org.apache.solr.core.SolrResourceLoader [junit4] 2> at org.apache.solr.core.ConfigSetService.loadConfigSet(ConfigSetService.java:88) [junit4] 2> at org.apache.solr.core.CoreContainer.createFromDescriptor(CoreContainer.java:1387) [junit4] 2> ... 44 more [junit4] 2> Caused by: org.apache.solr.common.SolrException: Can't load schema managed-schema: org.apache.solr.schema.IndexSchema$1 cannot be cast to org.apache.solr.core.SolrResourceLoader [junit4] 2> at org.apache.solr.schema.IndexSchema.readSchema(IndexSchema.java:652) [junit4] 2> at org.apache.solr.schema.IndexSchema.<init>(IndexSchema.java:186) [junit4] 2> at org.apache.solr.schema.ManagedIndexSchema.<init>(ManagedIndexSchema.java:105) [junit4] 2> at org.apache.solr.schema.ManagedIndexSchemaFactory.create(ManagedIndexSchemaFactory.java:178) [junit4] 2> at org.apache.solr.schema.ManagedIndexSchemaFactory.create(ManagedIndexSchemaFactory.java:46) [junit4] 2> at org.apache.solr.core.ConfigSetService.createIndexSchema(ConfigSetService.java:145) [junit4] 2> at org.apache.solr.core.ConfigSetService.lambda$loadConfigSet$0(ConfigSetService.java:84) [junit4] 2> at org.apache.solr.core.ConfigSet.<init>(ConfigSet.java:48) [junit4] 2> at org.apache.solr.core.ConfigSetService.loadConfigSet(ConfigSetService.java:84) [junit4] 2> ... 45 more [junit4] 2> Caused by: java.lang.ClassCastException: org.apache.solr.schema.IndexSchema$1 cannot be cast to org.apache.solr.core.SolrResourceLoader [junit4] 2> at org.apache.solr.rest.schema.analysis.BaseManagedTokenFilterFactory.inform(BaseManagedTokenFilterFactory.java:60) [junit4] 2> at org.apache.solr.schema.ManagedIndexSchema.informResourceLoaderAwareObjectsInChain(ManagedIndexSchema.java:1343) [junit4] 2> at org.apache.solr.schema.ManagedIndexSchema.informResourceLoaderAwareObjectsForFieldType(ManagedIndexSchema.java:1195) [junit4] 2> at org.apache.solr.schema.ManagedIndexSchema.postReadInform(ManagedIndexSchema.java:1180) [junit4] 2> at org.apache.solr.schema.IndexSchema.readSchema(IndexSchema.java:644) [junit4] 2> ... 53 more {noformat} > Make schema components load from packages > ----------------------------------------- > > Key: SOLR-14151 > URL: https://issues.apache.org/jira/browse/SOLR-14151 > Project: Solr > Issue Type: Sub-task > Reporter: Noble Paul > Assignee: Noble Paul > Priority: Blocker > Labels: packagemanager > Fix For: 8.7 > > Time Spent: 13.5h > Remaining Estimate: 0h > > Example: > {code:xml} > <fieldType name="mytype1" class="pkg1:my.pkg.FieldTypeImpl"> > <analyzer type="index"> > <tokenizer class="pkg2:my.pkg2.MyTokenizerFactory"/> > <filter class="pkg2:my.pkg3.MyFilterFactory" generateWordParts="1" > generateNumberParts="0" catenateWords="0" > catenateNumbers="0" catenateAll="0"/> > <filter class="solr.LowerCaseFilterFactory"/> > <filter class="solr.FlattenGraphFilterFactory"/> > </analyzer> > </fieldType> > {code} > * When a package is updated, the entire {{IndexSchema}} object is refreshed, > but the SolrCore object is not reloaded > * Any component can be prefixed with the package name > * The semantics of loading plugins remain the same as that of the components > in {{solrconfig.xml}} > * Plugins can be registered using schema API -- This message was sent by Atlassian Jira (v8.3.4#803005) --------------------------------------------------------------------- To unsubscribe, e-mail: issues-unsubscr...@lucene.apache.org For additional commands, e-mail: issues-h...@lucene.apache.org