Solr:创建远程Solr核心时出错

时间:2018-08-17 07:59:11

标签: indexing solr upgrade hybris

将solr从4.7升级到5.3后,在其中一个节点(2个solr节点,主/从)重启期间执行查询时,出现以下错误:

 org.apache.solr.common.SolrException: Error CREATEing SolrCore 'master_Reseller': Could not create a new core in /hybris/configs/solr/server/solr/./cores/master_Reseller/as another core is already defined there
 at org.apache.solr.handler.admin.CoreAdminHandler.handleCreateAction(CoreAdminHandler.java:662)
 at org.apache.solr.handler.admin.CoreAdminHandler.handleRequestInternal(CoreAdminHandler.java:214)
 at org.apache.solr.handler.admin.CoreAdminHandler.handleRequestBody(CoreAdminHandler.java:194)
 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:210)
 at org.apache.solr.servlet.SolrDispatchFilter.doFilter(SolrDispatchFilter.java:179) org.apache.solr.common.SolrException: Error CREATEing SolrCore 'master_Reseller': Could not create a new core in /hybris/configs/solr/server/solr/./cores/master_Reseller/as another core is already defined there
 at org.apache.solr.handler.admin.CoreAdminHandler.handleCreateAction(CoreAdminHandler.java:662)
 at org.apache.solr.handler.admin.CoreAdminHandler.handleRequestInternal(CoreAdminHandler.java:214)
 at org.apache.solr.handler.admin.CoreAdminHandler.handleRequestBody(CoreAdminHandler.java:194)
 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:210)
 at org.apache.solr.servlet.SolrDispatchFilter.doFilter(SolrDispatchFilter.java:179)

什么原因导致此错误,该如何解决?

致谢

安迪

0 个答案:

没有答案