Return-Path: Delivered-To: apmail-hadoop-hbase-user-archive@minotaur.apache.org Received: (qmail 80171 invoked from network); 25 Jul 2009 14:14:20 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 25 Jul 2009 14:14:20 -0000 Received: (qmail 59946 invoked by uid 500); 25 Jul 2009 14:15:24 -0000 Delivered-To: apmail-hadoop-hbase-user-archive@hadoop.apache.org Received: (qmail 59886 invoked by uid 500); 25 Jul 2009 14:15:24 -0000 Mailing-List: contact hbase-user-help@hadoop.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: hbase-user@hadoop.apache.org Delivered-To: mailing list hbase-user@hadoop.apache.org Received: (qmail 59876 invoked by uid 99); 25 Jul 2009 14:15:24 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 25 Jul 2009 14:15:24 +0000 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_HELO_PASS,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of thegner@trilliumit.com designates 71.13.65.148 as permitted sender) Received: from [71.13.65.148] (HELO pf1.trilliumit.com) (71.13.65.148) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 25 Jul 2009 14:15:14 +0000 Received: from TSS-2K7CLS1.ad.trilliumstaffing.com (tss-2k7cls1.ad.trilliumstaffing.com [10.0.2.2]) by pf1.trilliumit.com (Postfix) with ESMTP id 74B212061 for ; Sat, 25 Jul 2009 10:14:44 -0400 (EDT) Received: from TSS-2K7CLS1.ad.trilliumstaffing.com ([10.0.2.2]) by TSS-2K7CLS1.ad.trilliumstaffing.com ([10.0.2.2]) with mapi; Sat, 25 Jul 2009 10:14:49 -0400 From: "Hegner, Travis" To: "hbase-user@hadoop.apache.org" Date: Sat, 25 Jul 2009 10:14:47 -0400 Subject: Pass a Delete or a Put Thread-Topic: Pass a Delete or a Put Thread-Index: AQHKDTJE1AOTRAZKa0OWVUxU4W+XDA== Message-ID: <25CB91D5F1FD654AAF114A1873517C6B08D6ACF0D7@TSS-2K7CLS1.ad.trilliumstaffing.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: acceptlanguage: en-US Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-MailScanner-ID: 74B212061.E3D60 X-TrilliumIT-MailScanner: Found to be clean X-TrilliumIT-MailScanner-SpamCheck: not spam (whitelisted), SpamAssassin (not cached, score=-4.399, required 2, autolearn=not spam, ALL_TRUSTED -1.80, BAYES_00 -2.60) X-TrilliumIT-MailScanner-From: thegner@trilliumit.com X-Virus-Checked: Checked by ClamAV on apache.org X-Old-Spam-Status: No Hi All, I am getting the "Pass a Delete or a Put" exception from my reducer tasks (= TableOutputFormat.java:96), even though I am actually passing a put... for(int i =3D 0; i < idList.size(); i++) { Put thisput =3D new Put(key.toString().getB= ytes()); thisput.add("Positions".getBytes(), idList.= get(i).toString().getBytes(), posList.get(i).toString().getBytes()); context.write(key, thisput); } Is there anything wrong with this section of code from my reduce()? I have also tried casting the value with: context.write(key, (Put)thisput); Any Ideas? Travis Hegner http://www.travishegner.com/ The information contained in this communication is confidential and is inte= nded only for the use of the named recipient. Unauthorized use, disclosure= , or copying is strictly prohibited and may be unlawful. If you have recei= ved this communication in error, you should know that you are bound to conf= identiality, and should please immediately notify the sender or our IT Depa= rtment at 866.459.4599.