[ 
https://issues.apache.org/jira/browse/SOLR-9473?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Dasiy  resolved SOLR-9473.
--------------------------
    Resolution: Fixed

It worked after adding hte mmseg4j-*-.jar 

> Addreplica  Failure caused by: com.chenlb.mmseg4j.solr.MMSegTokenizerFactory
> ----------------------------------------------------------------------------
>
>                 Key: SOLR-9473
>                 URL: https://issues.apache.org/jira/browse/SOLR-9473
>             Project: Solr
>          Issue Type: Bug
>      Security Level: Public(Default Security Level. Issues are Public) 
>            Reporter: Dasiy 
>
> I want to add replica of a shard, and used the collection API. The part of 
> url is 
> :/admin/collections?action=ADDREPLICA&collection=collection2&shard=shard1&node=10.110.20.123:8983_solr
> Then the response code is 500. 
> org.apache.solr.client.solrj.impl.HttpSolrClient$RemoteSolrException:Error 
> from server at http://10.110.20.123:8983/solr: Error CREATEing SolrCore 
> 'collection2_shard1_replica1': Unable to create core 
> [collection2_shard1_replica1] Caused by: 
> com.chenlb.mmseg4j.solr.MMSegTokenizerFactory
> <str name="trace">
> org.apache.solr.common.SolrException: ADDREPLICA failed to create replica at 
> org.apache.solr.handler.admin.CollectionsHandler.handleResponse(CollectionsHandler.java:235)
>  at 
> org.apache.solr.handler.admin.CollectionsHandler.handleRequestBody(CollectionsHandler.java:170)
>  at 
> org.apache.solr.handler.RequestHandlerBase.handleRequest(RequestHandlerBase.java:143)
>  at 
> org.apache.solr.servlet.HttpSolrCall.handleAdminRequest(HttpSolrCall.java:675)
>  at org.apache.solr.servlet.HttpSolrCall.call(HttpSolrCall.java:443) at 
> org.apache.solr.servlet.SolrDispatchFilter.doFilter(SolrDispatchFilter.java:214)
>  at 
> org.apache.solr.servlet.SolrDispatchFilter.doFilter(SolrDispatchFilter.java:179)
>  at 
> org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1652)
>  at 
> org.eclipse.jetty.servlet.ServletHandler.doHandle(ServletHandler.java:585) at 
> org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:143) 
> at 
> org.eclipse.jetty.security.SecurityHandler.handle(SecurityHandler.java:577) 
> at 
> org.eclipse.jetty.server.session.SessionHandler.doHandle(SessionHandler.java:223)
>  at 
> org.eclipse.jetty.server.handler.ContextHandler.doHandle(ContextHandler.java:1127)
>  at org.eclipse.jetty.servlet.ServletHandler.doScope(ServletHandler.java:515) 
> at 
> org.eclipse.jetty.server.session.SessionHandler.doScope(SessionHandler.java:185)
>  at 



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to