you're trying to accomplish X and asking about Y where Y is the index replication. What's X? What is the purpose of switching the master and slave and how often do you do it and why?
I think I didn't explain it quit properly. So I have situation in which data is getting index every 20 seconds or less and I can't loose data while indexing. I use searching a lot in website, if I have to restart my solr machine because of kernel update or some network problem or some another reason (not really in top of my head). It takes a while to restart, while it is restarting some body is using website feature which require data to be indexed and display results after request completed. In this situation, if I loose the data I have to do full index (because I am using solrj it takes 3 to 4 hours, so this not ideal). That's why I am doing switching between master and slave. So now what I do here when slave is synced I make it master2 at this point I have two master, 1 and 2 and when I do that master2 it is used by website and than I convert master1 to slave of master2. So I don't really use data because it done by script it finish in couple of seconds. How often I do this? Not quit often. but once in two or three months. Let me know if you need anything else or something I didn't explain it properly. @Alessandro Benedetti Have you customized the merge factor ? Nope, I am using merge factor 10 always. Is it aggressive ? I am not sure what did you mean here by aggressive. When the replication is triggered what are the difference from the Master index ( in term of segments) and the slave ? What I have checked this time, It creates new directory index.20160213120345, and this directory is empty. But it has another directory with name index.20160213120322 and this one has more than 90% of index file same to master index directory. I just wanna say that you guys are taking time to helping me out with this problem is highly appreciated. Best regards, Novin On Fri, 12 Feb 2016 at 16:08 Erick Erickson <[email protected]> wrote: > bq: What I have done when the problem started, I changed slave to master > and > master to slave. > > OK, other things aside, if you're really saying that every time you > switch the slave > and master around and restart, you get a full sync then I'd reply > "don't do that". Why > are you switching slave and master? The whole purpose of replication is to > have > one master that essentially is _always_ the master. Essentially the > slave asks the > master "is my index up to date" and I'm not sure how that logic would > handle > going back and forth. Theoretically, if all the files in the index > were exactly identical > it wouldn't replicate when switched, but I cant say for certain that this > is > enforced. > > I think you're trying to accomplish some particular objective but > going about it in > a way that is causing you grief. This smells like an XY problem, i.e. > you're trying > to accomplish X and asking about Y where Y is the index replication. > What's X? > What is the purpose of switching the master and slave and how often do you > do > it and why? > > Best, > Erick > > On Fri, Feb 12, 2016 at 6:46 AM, Alessandro Benedetti > <[email protected]> wrote: > > Have you customised the merge factor ? > > Is it aggressive ? > > In case a lot of merge happens, you can potentially incur in a big > trasnfer > > of files each replication . > > You need to check the segments in the slave every minutes. > > When the replication is triggered what are the difference from the Master > > index ( in term of segments) and the slave ? > > > > Cheers > > > > On 12 February 2016 at 12:03, Novin Novin <[email protected]> wrote: > > > >> sorry core name is wmsapp_analysis which is big core > >> > >> On Fri, 12 Feb 2016 at 12:01 Novin Novin <[email protected]> wrote: > >> > >> > Well It started again. > >> > > >> > Below is are the errors from solr logging on admin ui. > >> > Log error message in master > >> > 2/12/2016, 11:39:24 AM null:java.lang.IllegalStateException: file: > >> > MMapDirectory@ > >> /var/solr/data/wmsapp_analysis/data/index.20160211204900750 > >> > lockFactory=org.apache.lucene.store.NativeFSLockFactory@56639f83 > appears > >> > both in delegate and in cache: cache=[_9bu7_Lucene50_0.pos, > >> > _9bua_Lucene50_0.tip, _9bty.fdt, _9bu7.nvd, _9bu1.nvd, _9bu0.nvm, > >> > _9bu4_Lucene50_0.tim, _8kbr_uu.liv, _9bu7_Lucene50_0.doc, > >> > _9bu1_Lucene50_0.tip, _9bu9.fnm, _9bty.fdx, _9btv.fdx, _9bu5.nvm, > >> > _9bu4_Lucene50_0.pos, _9bu5.fnm, _9bu3.si, _9bua_Lucene50_0.tim, > >> > _9bty_Lucene50_0.pos, _9bu0.si, _9btw_Lucene50_0.tim, > >> > _9bu0_Lucene50_0.tim, _9bu2.nvm, _9btv_Lucene50_0.pos, _9btv.nvd, > >> > _9bu3_Lucene50_0.tip, _9bua_Lucene50_0.doc, _9bu7_Lucene50_0.tip, > >> > _9btw.nvm, _9bua.fdx, _9bu4.nvm, _9bu9_Lucene50_0.tim, _9bu4_1.liv, > >> > _9bu7.nvm, _9bu3_1.liv, _9bu0.fnm, _9bu5_Lucene50_0.tim, _9btx.fnm, > >> > _9bu2.fdx, _9bu4.fdt, _9bu2_Lucene50_0.tip, _9bu9.fdx, > >> > _9bu9_Lucene50_0.pos, _9bu7.fdt, _9bu9.nvd, _9btx_1.liv, _99gt_2s.liv, > >> > _9btw.nvd, _9bu3_Lucene50_0.doc, _9bu2.fnm, _9bua_Lucene50_0.pos, > >> > _9bu9.nvm, _9btx.nvm, _9btw_Lucene50_0.tip, _9bu1.nvm, > >> > _9bu4_Lucene50_0.doc, _9bu9_1.liv, _9bu1.fnm, _9btu.cfs, > >> > _9bu8_Lucene50_0.tip, _9bua.nvm, _9btx_Lucene50_0.doc, _9btu.si, > >> > _9bu0.fdt, _9bu7.si, _9btx_Lucene50_0.tip, _9btw.si, _9bu8.fdx, > >> > _9bu0_Lucene50_0.doc, _9bu3.nvm, _9btz_Lucene50_0.tip, > >> > _9bu3_Lucene50_0.tim, _9btz.fdt, _9btw.fdt, _9bu2.si, _9bu4.si, > >> > _9btx.nvd, _9bu4.fnm, _9btv_1.liv, _9btz_Lucene50_0.doc, _9bpm_7.liv, > >> > _9btx_Lucene50_0.pos, _9bty.fnm, _9btw_Lucene50_0.doc, _9btv.fdt, > >> > _9bu2_Lucene50_0.doc, _9btu.cfe, _9bu3.nvd, _9btv.si, _9bu8.nvm, > >> > _9btx.fdt, _9bu5.si, _9bu5.fdt, _9bu2.nvd, _9bu3.fdx, _9btv.fnm, > >> > _9bu5.fdx, _9btz.fnm, _9bu3_Lucene50_0.pos, _9bu9_Lucene50_0.tip, > >> > _9bu1.fdt, _9bu0_Lucene50_0.tip, _9bty_Lucene50_0.tim, > >> > _9btx_Lucene50_0.tim, _9bt9_3.liv, _9bty.si, _9bu2.fdt, _9bu9.fdt, > >> > _9bu2_Lucene50_0.pos, _9bua.fdt, _9bu9_Lucene50_0.doc, _9bu4.fdx, > >> > _9bu5_Lucene50_0.pos, _9bu4.nvd, _9btv_Lucene50_0.tim, _9bty.nvd, _ > >> 9bu8.si, > >> > _9bu5_Lucene50_0.doc, _9bu9.si, _9btw.fnm, _9bu3.fnm, _9bh8_m.liv, > >> > _9bu3.fdt, _9bu5.nvd, _9bua.fnm, _9btw_1.liv, _9bu8_Lucene50_0.pos, > >> > _9btw_Lucene50_0.pos, _9bty_Lucene50_0.doc, _9bu6_1.liv, _9bu7.fnm, > >> > _5zcy_1kx.liv, _9bu7.fdx, _9bu5_1.liv, _9bua.nvd, > _9bty_Lucene50_0.tip, > >> > _9btz.fdx, _9bu0_Lucene50_0.pos, _9bu1_Lucene50_0.doc, _9btx.fdx, > >> > _9btv_Lucene50_0.tip, _9bn9_9.liv, _9bu0.fdx, _9bu8.nvd, > >> > _9bu1_Lucene50_0.pos, _9bua.si, _9bu1.si, _9bu8_Lucene50_0.tim, > >> > _9btv_Lucene50_0.doc, _9bu2_Lucene50_0.tim, _9bu1_Lucene50_0.tim, > >> > _9bu8.fnm, _9bu4_Lucene50_0.tip, _9btx.si, _98nt_5c.liv, _9btz.nvd, > >> > _9btw.fdx, _9btv.nvm, _9bu7_Lucene50_0.tim, pending_segments_nk8, > >> > _9btz_Lucene50_0.tim, _9btz.si, _9bu8_Lucene50_0.doc, > >> > _9bu5_Lucene50_0.tip, _9btz_Lucene50_0.pos, _9btz.nvm, _9bty.nvm, > >> > _9bu0.nvd, _9bu1.fdx, _9bu8.fdt],delegate=[_9br2.cfe, > >> pending_segments_nk8, > >> > _9bnd.fnm, _9btn_Lucene50_0.tim, _96i3.cfe, _9boh.cfe, > >> > _9bto_Lucene50_0.pos, _6s8a.fnm, _9btr.si, _9bt9.cfs, _9bh8.cfe, > >> > _9btg.nvd, _9bqi_3.liv, _5zcy_Lucene50_0.tip, _9boh_6.liv, > >> > _98nt_Lucene50_0.tim, _9btt.si, _9bqi.si, _9bsp.si, _9bsp.cfs, > >> > _6s8a_1la.liv, _9bn9_8.liv, _6s8a_Lucene50_0.doc, _9bqb.cfs, > _9boh.cfs, > >> > _9btp.fdx, _5h1s_1wg.liv, _8kbr.fdx, _9bti.nvm, _9bts_Lucene50_0.pos, > _ > >> > 9bts.si, _9btr.nvd, _9bnd_Lucene50_0.pos, _5h1s_Lucene50_0.tim, > >> > _9btq.fdt, _9bti.nvd, _9btm_1.liv, _9btn.fdt, _9btp.fnm, _9btg.nvm, > >> > _9bu6.cfe, _9btm.cfe, _98nt_Lucene50_0.pos, _9bqq_6.liv, > >> > _8kbr_Lucene50_0.tip, _9btq.fdx, _9ayb_c.liv, _5zcy_Lucene50_0.doc, > >> > _5zcy.fdt, _6s8a.nvd, _9ayb.cfe, _6s8a_Lucene50_0.tim, _9bh8_l.liv, > >> > _17on.fdx, _9btn.fdx, _9btg.si, _5h1s.fdt, _9btp_Lucene50_0.doc, > >> > _99gt_2r.liv, _9br2_5.liv, _9bnd.nvm, _9bj7.si, _9bto_Lucene50_0.doc, > >> > _9bpm.cfs, _17on_Lucene50_0.doc, _99gt.si, _9btg_Lucene50_0.tim, > >> > _9btk.nvd, _9bts_Lucene50_0.tim, _9bqb.cfe, _98nt_Lucene50_0.tip, > >> > _9btr.nvm, _98ge.si, _9bnd_4.liv, _9bto.si, _9btq.nvd, _9bnj.cfs, > >> > _9btn_Lucene50_0.doc, _9btt.fdt, _17on.si, _9bnj.cfe, _17on_2wi.liv, > >> > _9btt_Lucene50_0.doc, _9bqq.si, _9bt9_2.liv, _9btr_Lucene50_0.tim, > >> > _9btk.fnm, _9btk.si, _9bn9.cfe, _8kbr_Lucene50_0.pos, _9bt9.cfe, > >> > _17on.fnm, _9btq.si, _98gy_d.liv, _9btp.nvd, _9bnd_Lucene50_0.tim, > >> > _9bqq.cfe, _9bti.fnm, _8kbr_Lucene50_0.doc, _9bqq.cfs, _9bnj.si, > >> > _9bti_1.liv, _9bt9.si, _5zcy_Lucene50_0.tim, _9bh8.cfs, _98ge_g.liv, > >> > _9btr_Lucene50_0.pos, _9bti_Lucene50_0.doc, _98ge.cfe, _8kbr.nvm, > >> > _9bnd.fdt, _9br2.si, _5h1s_Lucene50_0.pos, _9btq_Lucene50_0.pos, _ > >> 9btn.si, > >> > _98gy.cfe, _9b0u.si, _9btq_Lucene50_0.doc, _9bti_Lucene50_0.tip, > >> > _9bnd_Lucene50_0.tip, _5zcy.fnm, _9ayb.cfs, _9bn9.si, > >> > _9btq_Lucene50_0.tip, _98nt_Lucene50_0.doc, _9btp_Lucene50_0.pos, _ > >> 9btp.si, > >> > _98nt.nvd, _9bti_Lucene50_0.tim, _9bpm.cfe, _9btq.nvm, _9btn_1.liv, > >> > _8kbr.fdt, _9btp_Lucene50_0.tip, _9btk.fdx, _9btt_Lucene50_0.tip, > >> > _9brx_5.liv, _6s8a_Lucene50_0.tip, _9bto.fnm, _9btp.fdt, _98gy.cfs, > >> > _9bpd_8.liv, _9bnd.nvd, _9bj7.cfs, _96i3_40.liv, _5h1s_Lucene50_0.tip, > >> > _6s8a_Lucene50_0.pos, _9btm.si, _9bu6.si, _6s8a.fdt, > >> > _9btr_Lucene50_0.tip, _9bti.fdt, _9bnd.si, _5zcy_Lucene50_0.pos, > >> > _9btn.fnm, _9btq.fnm, _9btp_Lucene50_0.tim, _9btk_Lucene50_0.tim, > >> > _98nt_5b.liv, _9btm.cfs, _5h1s.nvm, _9btk_Lucene50_0.doc, _9bpm_6.liv, > >> > _9btt.nvm, _8kbr_ut.liv, _5h1s.si, _9btg_2.liv, _6s8a.nvm, > >> > _17on_Lucene50_0.tip, _9bnj_7.liv, _9btn_Lucene50_0.pos, _9bti.si, > >> > _17on.fdt, _9bqi.cfe, _9btr.fdx, _6s8a.si, _9btk.fdt, > >> > _9bto_Lucene50_0.tim, _9bts.fnm, _9bto.nvm, _9btp.nvm, _9bto.nvd, > >> > _6s8a.fdx, _9brx.si, _9btt_Lucene50_0.pos, _98nt.nvm, _9btt.nvd, > >> > _99gt.cfe, _9bto.fdx, _9btt.fdx, _5zcy.nvm, _9bnd_Lucene50_0.doc, > >> > _5h1s.nvd, _5h1s_Lucene50_0.doc, _9btr_Lucene50_0.doc, > >> > _9bts_Lucene50_0.tip, write.lock, _9btg.fdx, _9br2.cfs, _9bts.nvd, > >> > _9bts_Lucene50_0.doc, _9bsp_2.liv, _9bqi.cfs, _9bj7_8.liv, _9bh8.si, > >> > _96i3.cfs, _98nt.si, _9b0u.cfs, _9ayb.si, _99gt.cfs, _5zcy_1kw.liv, > >> > _9btk_Lucene50_0.tip, _9brx.cfe, _9bts.fdx, _9btg.fdt, _5zcy.nvd, > >> > _8kbr_Lucene50_0.tim, _9btg.fnm, _17on.nvm, _9bts.fdt, _9bto.fdt, > >> > _9btg_Lucene50_0.doc, segments_nk7, _9btn.nvd, _8kbr.nvd, _9boh.si, _ > >> > 98gy.si, _9btn.nvm, _5zcy.si, _9b0u_o.liv, _9bti_Lucene50_0.pos, _ > >> 9bpd.si, > >> > _9bn9.cfs, _9bj7.cfe, _9btr.fnm, _98nt.fnm, _9btg_Lucene50_0.tip, > >> > _9btk.nvm, _9btq_Lucene50_0.tim, _9bto_Lucene50_0.tip, _8kbr.si, > >> > _9bti.fdx, _9bqb_4.liv, _17on.nvd, _17on_Lucene50_0.pos, > >> > _9btn_Lucene50_0.tip, _9b0u.cfe, _5h1s.fdx, _5zcy.fdx, _9bsp.cfe, > >> > _9bpd.cfs, _98nt.fdt, _9bqb.si, _9bts.nvm, _9bu6.cfs, _9bnd.fdx, > >> > _98ge.cfs, _9bpd.cfe, _5h1s.fnm, _9brx.cfs, _98nt.fdx, _9btr.fdt, _ > >> 9bpm.si, > >> > _96i3.si, _9btk_Lucene50_0.pos, _9btg_Lucene50_0.pos, _8kbr.fnm, > >> > _9btt.fnm, _9btt_Lucene50_0.tim, _17on_Lucene50_0.tim] > >> > > >> > at > >> > org.apache.lucene.store.NRTCachingDirectory.listAll(NRTCachingDirectory.java:103) > >> > at > >> > org.apache.solr.core.DirectoryFactory.sizeOfDirectory(DirectoryFactory.java:208) > >> > at > >> > org.apache.solr.handler.ReplicationHandler.getIndexSize(ReplicationHandler.java:705) > >> > at > >> > org.apache.solr.handler.ReplicationHandler.getReplicationDetails(ReplicationHandler.java:793) > >> > at > >> > org.apache.solr.handler.ReplicationHandler.handleRequestBody(ReplicationHandler.java:305) > >> > at > >> > org.apache.solr.handler.RequestHandlerBase.handleRequest(RequestHandlerBase.java:143) > >> > at org.apache.solr.core.SolrCore.execute(SolrCore.java:2064) > >> > at > >> org.apache.solr.servlet.HttpSolrCall.execute(HttpSolrCall.java:640) > >> > at > org.apache.solr.servlet.HttpSolrCall.call(HttpSolrCall.java:436) > >> > at > >> > org.apache.solr.servlet.SolrDispatchFilter.doFilter(SolrDispatchFilter.java:227) > >> > at > >> > org.apache.solr.servlet.SolrDispatchFilter.doFilter(SolrDispatchFilter.java:196) > >> > 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:542) > >> > 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 > >> > org.eclipse.jetty.server.handler.ContextHandler.doScope(ContextHandler.java:1061) > >> > at > >> > org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:141) > >> > at > >> > org.eclipse.jetty.server.handler.ContextHandlerCollection.handle(ContextHandlerCollection.java:215) > >> > at > >> > org.eclipse.jetty.server.handler.HandlerCollection.handle(HandlerCollection.java:110) > >> > at > >> > org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:97) > >> > at org.eclipse.jetty.server.Server.handle(Server.java:497) > >> > at > >> org.eclipse.jetty.server.HttpChannel.handle(HttpChannel.java:310) > >> > at > >> > org.eclipse.jetty.server.HttpConnection.onFillable(HttpConnection.java:257) > >> > at > >> org.eclipse.jetty.io > .AbstractConnection$2.run(AbstractConnection.java:540) > >> > at > >> > org.eclipse.jetty.util.thread.QueuedThreadPool.runJob(QueuedThreadPool.java:635) > >> > at > >> > org.eclipse.jetty.util.thread.QueuedThreadPool$3.run(QueuedThreadPool.java:555) > >> > at java.lang.Thread.run(Thread.java:745) > >> > > >> > > >> > Log warn message in slave > >> > 2/12/2016, 11:39:24 AM > >> > WARN > >> > null > >> > ReplicationHandler > >> > Exception while invoking 'details' method for replication on master > >> > org.apache.solr.client.solrj.impl.HttpSolrClient$RemoteSolrException: > >> > Error from server at http://master:8983/solr/big_core: file: > >> > MMapDirectory@/var/solr/data/big_core/data/index.20160211204900750 > >> > lockFactory=org.apache.lucene.store.NativeFSLockFactory@56639f83 > appears > >> > both in delegate and in cache: cache=[_9bu7_Lucene50_0.pos, > >> > _9bua_Lucene50_0.tip, _9bty.fdt, _9bu7.nvd, _9bu1.nvd, _9bu0.nvm, > >> > _9bu4_Lucene50_0.tim, _8kbr_uu.liv, _9bu7_Lucene50_0.doc, > >> > _9bu1_Lucene50_0.tip, _9bu9.fnm, _9bty.fdx, _9btv.fdx, _9bu5.nvm, > >> > _9bu4_Lucene50_0.pos, _9bu5.fnm, _9bu3.si, _9bua_Lucene50_0.tim, > >> > _9bty_Lucene50_0.pos, _9bu0.si, _9btw_Lucene50_0.tim, > >> > _9bu0_Lucene50_0.tim, _9bu2.nvm, _9btv_Lucene50_0.pos, _9btv.nvd, > >> > _9bu3_Lucene50_0.tip, _9bua_Lucene50_0.doc, _9bu7_Lucene50_0.tip, > >> > _9btw.nvm, _9bua.fdx, _9bu4.nvm, _9bu9_Lucene50_0.tim, _9bu4_1.liv, > >> > _9bu7.nvm, _9bu3_1.liv, _9bu0.fnm, _9bu5_Lucene50_0.tim, _9btx.fnm, > >> > _9bu2.fdx, _9bu4.fdt, _9bu2_Lucene50_0.tip, _9bu9.fdx, > >> > _9bu9_Lucene50_0.pos, _9bu7.fdt, _9bu9.nvd, _9btx_1.liv, _99gt_2s.liv, > >> > _9btw.nvd, _9bu3_Lucene50_0.doc, _9bu2.fnm, _9bua_Lucene50_0.pos, > >> > _9bu9.nvm, _9btx.nvm, _9btw_Lucene50_0.tip, _9bu1.nvm, > >> > _9bu4_Lucene50_0.doc, _9bu9_1.liv, _9bu1.fnm, _9btu.cfs, > >> > _9bu8_Lucene50_0.tip, _9bua.nvm, _9btx_Lucene50_0.doc, _9btu.si, > >> > _9bu0.fdt, _9bu7.si, _9btx_Lucene50_0.tip, _9btw.si, _9bu8.fdx, > >> > _9bu0_Lucene50_0.doc, _9bu3.nvm, _9btz_Lucene50_0.tip, > >> > _9bu3_Lucene50_0.tim, _9btz.fdt, _9btw.fdt, _9bu2.si, _9bu4.si, > >> > _9btx.nvd, _9bu4.fnm, _9btv_1.liv, _9btz_Lucene50_0.doc, _9bpm_7.liv, > >> > _9btx_Lucene50_0.pos, _9bty.fnm, _9btw_Lucene50_0.doc, _9btv.fdt, > >> > _9bu2_Lucene50_0.doc, _9btu.cfe, _9bu3.nvd, _9btv.si, _9bu8.nvm, > >> > _9btx.fdt, _9bu5.si, _9bu5.fdt, _9bu2.nvd, _9bu3.fdx, _9btv.fnm, > >> > _9bu5.fdx, _9btz.fnm, _9bu3_Lucene50_0.pos, _9bu9_Lucene50_0.tip, > >> > _9bu1.fdt, _9bu0_Lucene50_0.tip, _9bty_Lucene50_0.tim, > >> > _9btx_Lucene50_0.tim, _9bt9_3.liv, _9bty.si, _9bu2.fdt, _9bu9.fdt, > >> > _9bu2_Lucene50_0.pos, _9bua.fdt, _9bu9_Lucene50_0.doc, _9bu4.fdx, > >> > _9bu5_Lucene50_0.pos, _9bu4.nvd, _9btv_Lucene50_0.tim, _9bty.nvd, _ > >> 9bu8.si, > >> > _9bu5_Lucene50_0.doc, _9bu9.si, _9btw.fnm, _9bu3.fnm, _9bh8_m.liv, > >> > _9bu3.fdt, _9bu5.nvd, _9bua.fnm, _9btw_1.liv, _9bu8_Lucene50_0.pos, > >> > _9btw_Lucene50_0.pos, _9bty_Lucene50_0.doc, _9bu6_1.liv, _9bu7.fnm, > >> > _5zcy_1kx.liv, _9bu7.fdx, _9bu5_1.liv, _9bua.nvd, > _9bty_Lucene50_0.tip, > >> > _9btz.fdx, _9bu0_Lucene50_0.pos, _9bu1_Lucene50_0.doc, _9btx.fdx, > >> > _9btv_Lucene50_0.tip, _9bn9_9.liv, _9bu0.fdx, _9bu8.nvd, > >> > _9bu1_Lucene50_0.pos, _9bua.si, _9bu1.si, _9bu8_Lucene50_0.tim, > >> > _9btv_Lucene50_0.doc, _9bu2_Lucene50_0.tim, _9bu1_Lucene50_0.tim, > >> > _9bu8.fnm, _9bu4_Lucene50_0.tip, _9btx.si, _98nt_5c.liv, _9btz.nvd, > >> > _9btw.fdx, _9btv.nvm, _9bu7_Lucene50_0.tim, pending_segments_nk8, > >> > _9btz_Lucene50_0.tim, _9btz.si, _9bu8_Lucene50_0.doc, > >> > _9bu5_Lucene50_0.tip, _9btz_Lucene50_0.pos, _9btz.nvm, _9bty.nvm, > >> > _9bu0.nvd, _9bu1.fdx, _9bu8.fdt],delegate=[_9br2.cfe, > >> pending_segments_nk8, > >> > _9bnd.fnm, _9btn_Lucene50_0.tim, _96i3.cfe, _9boh.cfe, > >> > _9bto_Lucene50_0.pos, _6s8a.fnm, _9btr.si, _9bt9.cfs, _9bh8.cfe, > >> > _9btg.nvd, _9bqi_3.liv, _5zcy_Lucene50_0.tip, _9boh_6.liv, > >> > _98nt_Lucene50_0.tim, _9btt.si, _9bqi.si, _9bsp.si, _9bsp.cfs, > >> > _6s8a_1la.liv, _9bn9_8.liv, _6s8a_Lucene50_0.doc, _9bqb.cfs, > _9boh.cfs, > >> > _9btp.fdx, _5h1s_1wg.liv, _8kbr.fdx, _9bti.nvm, _9bts_Lucene50_0.pos, > _ > >> > 9bts.si, _9btr.nvd, _9bnd_Lucene50_0.pos, _5h1s_Lucene50_0.tim, > >> > _9btq.fdt, _9bti.nvd, _9btm_1.liv, _9btn.fdt, _9btp.fnm, _9btg.nvm, > >> > _9bu6.cfe, _9btm.cfe, _98nt_Lucene50_0.pos, _9bqq_6.liv, > >> > _8kbr_Lucene50_0.tip, _9btq.fdx, _9ayb_c.liv, _5zcy_Lucene50_0.doc, > >> > _5zcy.fdt, _6s8a.nvd, _9ayb.cfe, _6s8a_Lucene50_0.tim, _9bh8_l.liv, > >> > _17on.fdx, _9btn.fdx, _9btg.si, _5h1s.fdt, _9btp_Lucene50_0.doc, > >> > _99gt_2r.liv, _9br2_5.liv, _9bnd.nvm, _9bj7.si, _9bto_Lucene50_0.doc, > >> > _9bpm.cfs, _17on_Lucene50_0.doc, _99gt.si, _9btg_Lucene50_0.tim, > >> > _9btk.nvd, _9bts_Lucene50_0.tim, _9bqb.cfe, _98nt_Lucene50_0.tip, > >> > _9btr.nvm, _98ge.si, _9bnd_4.liv, _9bto.si, _9btq.nvd, _9bnj.cfs, > >> > _9btn_Lucene50_0.doc, _9btt.fdt, _17on.si, _9bnj.cfe, _17on_2wi.liv, > >> > _9btt_Lucene50_0.doc, _9bqq.si, _9bt9_2.liv, _9btr_Lucene50_0.tim, > >> > _9btk.fnm, _9btk.si, _9bn9.cfe, _8kbr_Lucene50_0.pos, _9bt9.cfe, > >> > _17on.fnm, _9btq.si, _98gy_d.liv, _9btp.nvd, _9bnd_Lucene50_0.tim, > >> > _9bqq.cfe, _9bti.fnm, _8kbr_Lucene50_0.doc, _9bqq.cfs, _9bnj.si, > >> > _9bti_1.liv, _9bt9.si, _5zcy_Lucene50_0.tim, _9bh8.cfs, _98ge_g.liv, > >> > _9btr_Lucene50_0.pos, _9bti_Lucene50_0.doc, _98ge.cfe, _8kbr.nvm, > >> > _9bnd.fdt, _9br2.si, _5h1s_Lucene50_0.pos, _9btq_Lucene50_0.pos, _ > >> 9btn.si, > >> > _98gy.cfe, _9b0u.si, _9btq_Lucene50_0.doc, _9bti_Lucene50_0.tip, > >> > _9bnd_Lucene50_0.tip, _5zcy.fnm, _9ayb.cfs, _9bn9.si, > >> > _9btq_Lucene50_0.tip, _98nt_Lucene50_0.doc, _9btp_Lucene50_0.pos, _ > >> 9btp.si, > >> > _98nt.nvd, _9bti_Lucene50_0.tim, _9bpm.cfe, _9btq.nvm, _9btn_1.liv, > >> > _8kbr.fdt, _9btp_Lucene50_0.tip, _9btk.fdx, _9btt_Lucene50_0.tip, > >> > _9brx_5.liv, _6s8a_Lucene50_0.tip, _9bto.fnm, _9btp.fdt, _98gy.cfs, > >> > _9bpd_8.liv, _9bnd.nvd, _9bj7.cfs, _96i3_40.liv, _5h1s_Lucene50_0.tip, > >> > _6s8a_Lucene50_0.pos, _9btm.si, _9bu6.si, _6s8a.fdt, > >> > _9btr_Lucene50_0.tip, _9bti.fdt, _9bnd.si, _5zcy_Lucene50_0.pos, > >> > _9btn.fnm, _9btq.fnm, _9btp_Lucene50_0.tim, _9btk_Lucene50_0.tim, > >> > _98nt_5b.liv, _9btm.cfs, _5h1s.nvm, _9btk_Lucene50_0.doc, _9bpm_6.liv, > >> > _9btt.nvm, _8kbr_ut.liv, _5h1s.si, _9btg_2.liv, _6s8a.nvm, > >> > _17on_Lucene50_0.tip, _9bnj_7.liv, _9btn_Lucene50_0.pos, _9bti.si, > >> > _17on.fdt, _9bqi.cfe, _9btr.fdx, _6s8a.si, _9btk.fdt, > >> > _9bto_Lucene50_0.tim, _9bts.fnm, _9bto.nvm, _9btp.nvm, _9bto.nvd, > >> > _6s8a.fdx, _9brx.si, _9btt_Lucene50_0.pos, _98nt.nvm, _9btt.nvd, > >> > _99gt.cfe, _9bto.fdx, _9btt.fdx, _5zcy.nvm, _9bnd_Lucene50_0.doc, > >> > _5h1s.nvd, _5h1s_Lucene50_0.doc, _9btr_Lucene50_0.doc, > >> > _9bts_Lucene50_0.tip, write.lock, _9btg.fdx, _9br2.cfs, _9bts.nvd, > >> > _9bts_Lucene50_0.doc, _9bsp_2.liv, _9bqi.cfs, _9bj7_8.liv, _9bh8.si, > >> > _96i3.cfs, _98nt.si, _9b0u.cfs, _9ayb.si, _99gt.cfs, _5zcy_1kw.liv, > >> > _9btk_Lucene50_0.tip, _9brx.cfe, _9bts.fdx, _9btg.fdt, _5zcy.nvd, > >> > _8kbr_Lucene50_0.tim, _9btg.fnm, _17on.nvm, _9bts.fdt, _9bto.fdt, > >> > _9btg_Lucene50_0.doc, segments_nk7, _9btn.nvd, _8kbr.nvd, _9boh.si, _ > >> > 98gy.si, _9btn.nvm, _5zcy.si, _9b0u_o.liv, _9bti_Lucene50_0.pos, _ > >> 9bpd.si, > >> > _9bn9.cfs, _9bj7.cfe, _9btr.fnm, _98nt.fnm, _9btg_Lucene50_0.tip, > >> > _9btk.nvm, _9btq_Lucene50_0.tim, _9bto_Lucene50_0.tip, _8kbr.si, > >> > _9bti.fdx, _9bqb_4.liv, _17on.nvd, _17on_Lucene50_0.pos, > >> > _9btn_Lucene50_0.tip, _9b0u.cfe, _5h1s.fdx, _5zcy.fdx, _9bsp.cfe, > >> > _9bpd.cfs, _98nt.fdt, _9bqb.si, _9bts.nvm, _9bu6.cfs, _9bnd.fdx, > >> > _98ge.cfs, _9bpd.cfe, _5h1s.fnm, _9brx.cfs, _98nt.fdx, _9btr.fdt, _ > >> 9bpm.si, > >> > _96i3.si, _9btk_Lucene50_0.pos, _9btg_Lucene50_0.pos, _8kbr.fnm, > >> > _9btt.fnm, _9btt_Lucene50_0.tim, _17on_Lucene50_0.tim] > >> > at > >> > > >> > org.apache.solr.client.solrj.impl.HttpSolrClient.executeMethod(HttpSolrClient.java:560) > >> > at > >> > > >> > org.apache.solr.client.solrj.impl.HttpSolrClient.request(HttpSolrClient.java:235) > >> > at > >> > > >> > org.apache.solr.client.solrj.impl.HttpSolrClient.request(HttpSolrClient.java:227) > >> > at > org.apache.solr.client.solrj.SolrClient.request(SolrClient.java:1220) > >> > at > >> org.apache.solr.handler.IndexFetcher.getDetails(IndexFetcher.java:1563) > >> > at > >> > > >> > org.apache.solr.handler.ReplicationHandler.getReplicationDetails(ReplicationHandler.java:821) > >> > at > >> > > >> > org.apache.solr.handler.ReplicationHandler.handleRequestBody(ReplicationHandler.java:305) > >> > at > >> > > >> > org.apache.solr.handler.RequestHandlerBase.handleRequest(RequestHandlerBase.java:143) > >> > at org.apache.solr.core.SolrCore.execute(SolrCore.java:2064) > >> > at org.apache.solr.servlet.HttpSolrCall.execute(HttpSolrCall.java:640) > >> > at org.apache.solr.servlet.HttpSolrCall.call(HttpSolrCall.java:436) > >> > at > >> > > >> > org.apache.solr.servlet.SolrDispatchFilter.doFilter(SolrDispatchFilter.java:227) > >> > at > >> > > >> > org.apache.solr.servlet.SolrDispatchFilter.doFilter(SolrDispatchFilter.java:196) > >> > 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:542) > >> > 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 > >> > > >> > org.eclipse.jetty.server.handler.ContextHandler.doScope(ContextHandler.java:1061) > >> > at > >> > > >> > org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:141) > >> > at > >> > > >> > org.eclipse.jetty.server.handler.ContextHandlerCollection.handle(ContextHandlerCollection.java:215) > >> > at > >> > > >> > org.eclipse.jetty.server.handler.HandlerCollection.handle(HandlerCollection.java:110) > >> > at > >> > > >> > org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:97) > >> > at org.eclipse.jetty.server.Server.handle(Server.java:497) > >> > at org.eclipse.jetty.server.HttpChannel.handle(HttpChannel.java:310) > >> > at > >> > > >> > org.eclipse.jetty.server.HttpConnection.onFillable(HttpConnection.java:257) > >> > at > >> > > >> org.eclipse.jetty.io > .AbstractConnection$2.run(AbstractConnection.java:540) > >> > at > >> > > >> > org.eclipse.jetty.util.thread.QueuedThreadPool.runJob(QueuedThreadPool.java:635) > >> > at > >> > > >> > org.eclipse.jetty.util.thread.QueuedThreadPool$3.run(QueuedThreadPool.java:555) > >> > at java.lang.Thread.run(Thread.java:745) > >> > > >> > > >> > Thanks, > >> > Novin > >> > > >> > On Fri, 12 Feb 2016 at 11:11 Novin Novin <[email protected]> wrote: > >> > > >> >> Details here are important. Do you understand what Erick was asking > >> >> when he was talking about segments? The segments are the files in > the > >> >> index directory, which is usually data/index inside the core's > instance > >> >> directory. > >> >> > >> >> Thanks Shawn, If I am thinking right these segments also appears on > core > >> >> admin page. I wasn't looked in index directory, my bad. > >> >> > >> >> And yes I used the diff to compare file. Now difference found > actually. > >> >> > >> >> class="solr.Re1plicationHandler" this is typing error, apologies. > This > >> is > >> >> in the file (copy from file) > >> >> class="solr.ReplicationHandler" > >> >> > >> >> Thanks, > >> >> Novin > >> >> > >> >> > >> >> > >> >> > >> >> On Fri, 12 Feb 2016 at 09:30 Shawn Heisey <[email protected]> > wrote: > >> >> > >> >>> On 2/12/2016 1:58 AM, Novin Novin wrote: > >> >>> > Typo? That's 60 seconds, but that's not especially interesting > either > >> >>> way. > >> >>> > > >> >>> > Yes, I was thinking about this too and I have changed it to 59 > >> >>> actually. > >> >>> > >> >>> If you want the polling to occur once an hour, pollInterval will > need > >> to > >> >>> be set to 01:00:00 ... not 00:00:60. If you want polling to occur > once > >> >>> a minute, use 00:01:00 for this setting. > >> >>> > >> >>> > Do the actual segment's look identical after the polling? > >> >>> > > >> >>> > Well no. > >> >>> > >> >>> Details here are important. Do you understand what Erick was asking > >> >>> when he was talking about segments? The segments are the files in > the > >> >>> index directory, which is usually data/index inside the core's > instance > >> >>> directory. > >> >>> > >> >>> I did notice that the master config you gave us has this: > >> >>> > >> >>> class="solr.Re1plicationHandler" > >> >>> > >> >>> Note that there is a number 1 in there. If this is actually in your > >> >>> config, I would expect there to be an error when Solr tries to > create > >> >>> the replication handler. Is this an error when transferring to > email, > >> >>> or is it also incorrect in your solrconfig.xml file? > >> >>> > >> >>> If you use a tool like diff to compare solrconfig.xml in your small > >> core > >> >>> to solrconfig.xml in your big core, can you see any differences in > the > >> >>> replication config? > >> >>> > >> >>> Thanks, > >> >>> Shawn > >> >>> > >> >>> > >> > > > > > > > > -- > > -------------------------- > > > > Benedetti Alessandro > > Visiting card : http://about.me/alessandro_benedetti > > > > "Tyger, tyger burning bright > > In the forests of the night, > > What immortal hand or eye > > Could frame thy fearful symmetry?" > > > > William Blake - Songs of Experience -1794 England >
