Return-Path: Delivered-To: apmail-lucene-solr-commits-archive@minotaur.apache.org Received: (qmail 83952 invoked from network); 16 Feb 2010 22:14:18 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 16 Feb 2010 22:14:18 -0000 Received: (qmail 79783 invoked by uid 500); 16 Feb 2010 22:14:18 -0000 Delivered-To: apmail-lucene-solr-commits-archive@lucene.apache.org Received: (qmail 79700 invoked by uid 500); 16 Feb 2010 22:14:17 -0000 Mailing-List: contact solr-commits-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-commits@lucene.apache.org Received: (qmail 79691 invoked by uid 99); 16 Feb 2010 22:14:17 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 16 Feb 2010 22:14:17 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.130] (HELO eos.apache.org) (140.211.11.130) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 16 Feb 2010 22:14:16 +0000 Received: from eos.apache.org (localhost [127.0.0.1]) by eos.apache.org (Postfix) with ESMTP id AB0BC16E2F for ; Tue, 16 Feb 2010 22:13:56 +0000 (GMT) MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable From: Apache Wiki To: Apache Wiki Date: Tue, 16 Feb 2010 22:13:56 -0000 Message-ID: <20100216221356.8911.21738@eos.apache.org> Subject: =?utf-8?q?=5BSolr_Wiki=5D_Trivial_Update_of_=22HadoopIndexing=22_by_Jason?= =?utf-8?q?Rutherglen?= Dear Wiki user, You have subscribed to a wiki page or wiki category on "Solr Wiki" for chan= ge notification. The "HadoopIndexing" page has been changed by JasonRutherglen. http://wiki.apache.org/solr/HadoopIndexing?action=3Ddiff&rev1=3D2&rev2=3D3 -------------------------------------------------- = CSVIndexer is provided as an example, though for your own application, yo= u will need to create your own CSVIndexer like class. CSVIndexer extends o= rg.apache.hadoop.conf.Configured to be instantiated via the Hadoop command = line. Your CSVIndexer like class will set your custom mapper and set the o= utput format as SolrOutputFormat. Use the SolrDocumentConverter.setSolrDoc= umentConverter to set your custom SolrDocumentConverter. = - =3D=3D SolrDocumentConverter =3D=3D = + =3D=3D SolrDocumentConverter =3D=3D = Implement this class to convert an object from a proprietary format into = a SolrInputDocument that may be indexed into Solr. = - =3D=3D Heartbeater =3D=3D = + =3D=3D Heartbeater =3D=3D = Hadoop will try to kill a running task if it doesn't receive a periodic h= eartbeat. This is why in a background thread the HeartBeater class continu= ously notifies Hadoop that the current task is still executing. This is ne= cessary with Solr and Lucene because some tasks such as an optimizing a lar= ge shard can take several minutes to several hours. =20