Return-Path: Delivered-To: apmail-lucene-hadoop-user-archive@locus.apache.org Received: (qmail 31339 invoked from network); 28 Dec 2007 14:35:38 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 28 Dec 2007 14:35:38 -0000 Received: (qmail 96010 invoked by uid 500); 28 Dec 2007 14:35:25 -0000 Delivered-To: apmail-lucene-hadoop-user-archive@lucene.apache.org Received: (qmail 95979 invoked by uid 500); 28 Dec 2007 14:35:25 -0000 Mailing-List: contact hadoop-user-help@lucene.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: hadoop-user@lucene.apache.org Delivered-To: mailing list hadoop-user@lucene.apache.org Received: (qmail 95970 invoked by uid 99); 28 Dec 2007 14:35:25 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 28 Dec 2007 06:35:25 -0800 X-ASF-Spam-Status: No, hits=2.6 required=10.0 tests=DNS_FROM_OPENWHOIS,SPF_HELO_PASS,SPF_PASS,WHOIS_MYPRIVREG X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of lists@nabble.com designates 216.139.236.158 as permitted sender) Received: from [216.139.236.158] (HELO kuber.nabble.com) (216.139.236.158) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 28 Dec 2007 14:35:14 +0000 Received: from isper.nabble.com ([192.168.236.156]) by kuber.nabble.com with esmtp (Exim 4.63) (envelope-from ) id 1J8GIj-0006Rd-SR for hadoop-user@lucene.apache.org; Fri, 28 Dec 2007 06:35:05 -0800 Message-ID: <14526519.post@talk.nabble.com> Date: Fri, 28 Dec 2007 06:35:05 -0800 (PST) From: helena21 To: hadoop-user@lucene.apache.org Subject: how to create collections in the mapper class MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Nabble-From: ahelen19@gmail.com X-Virus-Checked: Checked by ClamAV on apache.org Hi Everybody, i want to create arraylist that collects some objects from the input in the mapper class so that i want to use these collections to filter my input. the problem is my arraylist can't have even one object in it. its size is always zero. pls pls point me how can i create arraylist or other collection objects. i make it static object but still the arraylist can't collect any object. Thanks Helen -- View this message in context: http://www.nabble.com/how-to-create-collections-in-the-mapper-class-tp14526519p14526519.html Sent from the Hadoop Users mailing list archive at Nabble.com.