Saturday, 15 September 2012

ruby on rails - Riak yokozuna (solr) search stopped working after join -



ruby on rails - Riak yokozuna (solr) search stopped working after join -

are there additional steps need take after joining new riak nodes cluster set yokozuna/solr?

solr working on 1 node. when joined 2 additional nodes solr seems have stopped. solr not running of nodes, including on original node working before cluster created.

update: had original node leave cluster , restarted test on it's own. still throwing same error.

update: contents of log/riak/solr.log

2014-11-05 19:34:13,581 [warn] @coreadminhandler.java:495 creating core existing name not allowed 2014-11-05 19:34:13,582 [error] @solrexception.java:109 org.apache.solr.common.solrexception: core name 'normalized_people' exists. @ org.apache.solr.handler.admin.coreadminhandler.handlecreateaction(coreadminhandler.java:496) @ org.apache.solr.handler.admin.coreadminhandler.handlerequestbody(coreadminhandler.java:152) @ org.apache.solr.handler.requesthandlerbase.handlerequest(requesthandlerbase.java:135) @ org.apache.solr.servlet.solrdispatchfilter.handleadminrequest(solrdispatchfilter.java:732) @ org.apache.solr.servlet.solrdispatchfilter.dofilter(solrdispatchfilter.java:268) @ org.apache.solr.servlet.solrdispatchfilter.dofilter(solrdispatchfilter.java:217) @ org.eclipse.jetty.servlet.servlethandler$cachedchain.dofilter(servlethandler.java:1419) @ org.eclipse.jetty.servlet.servlethandler.dohandle(servlethandler.java:455) @ org.eclipse.jetty.server.handler.scopedhandler.handle(scopedhandler.java:137) @ org.eclipse.jetty.security.securityhandler.handle(securityhandler.java:557) @ org.eclipse.jetty.server.session.sessionhandler.dohandle(sessionhandler.java:231) @ org.eclipse.jetty.server.handler.contexthandler.dohandle(contexthandler.java:1075) @ org.eclipse.jetty.servlet.servlethandler.doscope(servlethandler.java:384) @ org.eclipse.jetty.server.session.sessionhandler.doscope(sessionhandler.java:193) @ org.eclipse.jetty.server.handler.contexthandler.doscope(contexthandler.java:1009) @ org.eclipse.jetty.server.handler.scopedhandler.handle(scopedhandler.java:135) @ org.eclipse.jetty.server.handler.contexthandlercollection.handle(contexthandlercollection.java:255) @ org.eclipse.jetty.server.handler.handlercollection.handle(handlercollection.java:154) @ org.eclipse.jetty.server.handler.handlerwrapper.handle(handlerwrapper.java:116) @ org.eclipse.jetty.server.server.handle(server.java:368) @ org.eclipse.jetty.server.abstracthttpconnection.handlerequest(abstracthttpconnection.java:489) @ org.eclipse.jetty.server.blockinghttpconnection.handlerequest(blockinghttpconnection.java:53) @ org.eclipse.jetty.server.abstracthttpconnection.headercomplete(abstracthttpconnection.java:942) @ org.eclipse.jetty.server.abstracthttpconnection$requesthandler.headercomplete(abstracthttpconnection.java:1004) @ org.eclipse.jetty.http.httpparser.parsenext(httpparser.java:640) @ org.eclipse.jetty.http.httpparser.parseavailable(httpparser.java:235) @ org.eclipse.jetty.server.blockinghttpconnection.handle(blockinghttpconnection.java:72) @ org.eclipse.jetty.server.bio.socketconnector$connectorendpoint.run(socketconnector.java:264) @ org.eclipse.jetty.util.thread.queuedthreadpool.runjob(queuedthreadpool.java:608) @ org.eclipse.jetty.util.thread.queuedthreadpool$3.run(queuedthreadpool.java:543) @ java.lang.thread.run(thread.java:745)

2014-11-05 19:34:13,582 [error] @solrexception.java:120 null:org.apache.solr.common.solrexception: core name 'normalized_people' exists. @ org.apache.solr.handler.admin.coreadminhandler.handlecreateaction(coreadminhandler.java:496) @ org.apache.solr.handler.admin.coreadminhandler.handlerequestbody(coreadminhandler.java:152) @ org.apache.solr.handler.requesthandlerbase.handlerequest(requesthandlerbase.java:135) @ org.apache.solr.servlet.solrdispatchfilter.handleadminrequest(solrdispatchfilter.java:732) @ org.apache.solr.servlet.solrdispatchfilter.dofilter(solrdispatchfilter.java:268) @ org.apache.solr.servlet.solrdispatchfilter.dofilter(solrdispatchfilter.java:217) @ org.eclipse.jetty.servlet.servlethandler$cachedchain.dofilter(servlethandler.java:1419) @ org.eclipse.jetty.servlet.servlethandler.dohandle(servlethandler.java:455) @ org.eclipse.jetty.server.handler.scopedhandler.handle(scopedhandler.java:137) @ org.eclipse.jetty.security.securityhandler.handle(securityhandler.java:557) @ org.eclipse.jetty.server.session.sessionhandler.dohandle(sessionhandler.java:231) @ org.eclipse.jetty.server.handler.contexthandler.dohandle(contexthandler.java:1075) @ org.eclipse.jetty.servlet.servlethandler.doscope(servlethandler.java:384) @ org.eclipse.jetty.server.session.sessionhandler.doscope(sessionhandler.java:193) @ org.eclipse.jetty.server.handler.contexthandler.doscope(contexthandler.java:1009) @ org.eclipse.jetty.server.handler.scopedhandler.handle(scopedhandler.java:135) @ org.eclipse.jetty.server.handler.contexthandlercollection.handle(contexthandlercollection.java:255) @ org.eclipse.jetty.server.handler.handlercollection.handle(handlercollection.java:154) @ org.eclipse.jetty.server.handler.handlerwrapper.handle(handlerwrapper.java:116) @ org.eclipse.jetty.server.server.handle(server.java:368) @ org.eclipse.jetty.server.abstracthttpconnection.handlerequest(abstracthttpconnection.java:489) @ org.eclipse.jetty.server.blockinghttpconnection.handlerequest(blockinghttpconnection.java:53) @ org.eclipse.jetty.server.abstracthttpconnection.headercomplete(abstracthttpconnection.java:942) @ org.eclipse.jetty.server.abstracthttpconnection$requesthandler.headercomplete(abstracthttpconnection.java:1004) @ org.eclipse.jetty.http.httpparser.parsenext(httpparser.java:640) @ org.eclipse.jetty.http.httpparser.parseavailable(httpparser.java:235) @ org.eclipse.jetty.server.blockinghttpconnection.handle(blockinghttpconnection.java:72) @ org.eclipse.jetty.server.bio.socketconnector$connectorendpoint.run(socketconnector.java:264) @ org.eclipse.jetty.util.thread.queuedthreadpool.runjob(queuedthreadpool.java:608) @ org.eclipse.jetty.util.thread.queuedthreadpool$3.run(queuedthreadpool.java:543) @ java.lang.thread.run(thread.java:745)

no additional steps necessary. please check log files, /var/log/riak/solr.log clues error be.

based on description, reproduction steps should be:

start 1 riak node search enabled , create search index (normalized_people) start other riak nodes search enabled , bring together cluster check error

ruby-on-rails solr riak

No comments:

Post a Comment