Return-Path: Delivered-To: apmail-lucene-solr-dev-archive@minotaur.apache.org Received: (qmail 99363 invoked from network); 11 Feb 2010 21:24:49 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 11 Feb 2010 21:24:49 -0000 Received: (qmail 26285 invoked by uid 500); 11 Feb 2010 21:24:49 -0000 Delivered-To: apmail-lucene-solr-dev-archive@lucene.apache.org Received: (qmail 26242 invoked by uid 500); 11 Feb 2010 21:24:49 -0000 Mailing-List: contact solr-dev-help@lucene.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: solr-dev@lucene.apache.org Delivered-To: mailing list solr-dev@lucene.apache.org Received: (qmail 26232 invoked by uid 99); 11 Feb 2010 21:24:49 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 11 Feb 2010 21:24:49 +0000 X-ASF-Spam-Status: No, hits=-1998.8 required=10.0 tests=ALL_TRUSTED,FS_REPLICA X-Spam-Check-By: apache.org Received: from [140.211.11.140] (HELO brutus.apache.org) (140.211.11.140) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 11 Feb 2010 21:24:48 +0000 Received: from brutus.apache.org (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id EC83E29A0014 for ; Thu, 11 Feb 2010 13:24:27 -0800 (PST) Message-ID: <231495863.215311265923467967.JavaMail.jira@brutus.apache.org> Date: Thu, 11 Feb 2010 21:24:27 +0000 (UTC) From: "Deepak (JIRA)" To: solr-dev@lucene.apache.org Subject: [jira] Updated: (SOLR-1769) Solr 1.4 Replication - Repeater throwing NullPointerException In-Reply-To: <997894963.197551265849909485.JavaMail.jira@brutus.apache.org> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/SOLR-1769?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Deepak updated SOLR-1769: ------------------------- Attachment: solrconfig.xml Hi Paul We have not defined any deletionPolicy in the solrconfig.xml file. We have this solrconfig.xml file from Solr 1.3. We have just changed LRUCache to FastLRUCache and defined replication request handler. Please see attached file for your reference Regards Deepak > Solr 1.4 Replication - Repeater throwing NullPointerException > ------------------------------------------------------------- > > Key: SOLR-1769 > URL: https://issues.apache.org/jira/browse/SOLR-1769 > Project: Solr > Issue Type: Bug > Affects Versions: 1.4 > Reporter: Deepak > Assignee: Noble Paul > Priority: Critical > Attachments: solrconfig.xml > > > Hi > I am trying to test Solr 1.4 Java replication. It works fine with this configuration on slave and data is sync from master with out any issue > > > http://IP:PORT/SolrSmartPriceSS/replication > internal > 5000 > 10000 > > > We need to setup repeater on this slave. We have this configuration on slave. With this configuration, it's throwing a null pointer exception. Please see error log > > > commit > schema.xml > > > http://IP:PORT/SolrSmartPriceSS/replication > internal > 5000 > 10000 > > > Error log > INFO: start commit(optimize=false,waitFlush=true,waitSearcher=true,expungeDeletes=false) > Feb 9, 2010 10:27:55 PM org.apache.solr.handler.ReplicationHandler doFetch > SEVERE: SnapPull failed > org.apache.solr.common.SolrException: Index fetch failed : > at org.apache.solr.handler.SnapPuller.fetchLatestIndex(SnapPuller.java:329) > at org.apache.solr.handler.ReplicationHandler.doFetch(ReplicationHandler.java:264) > at org.apache.solr.handler.ReplicationHandler$1.run(ReplicationHandler.java:146) > Caused by: java.lang.NullPointerException > at org.apache.solr.handler.ReplicationHandler$4.postCommit(ReplicationHandler.java:922) > at org.apache.solr.update.UpdateHandler.callPostCommitCallbacks(UpdateHandler.java:78) > at org.apache.solr.update.DirectUpdateHandler2.commit(DirectUpdateHandler2.java:411) > at org.apache.solr.handler.SnapPuller.doCommit(SnapPuller.java:467) > at org.apache.solr.handler.SnapPuller.fetchLatestIndex(SnapPuller.java:319) > Please let us know how can we resolve this issue > Regards > Deepak > -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.