Return-Path: X-Original-To: apmail-avro-user-archive@www.apache.org Delivered-To: apmail-avro-user-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 2A8939A50 for ; Fri, 7 Dec 2012 00:43:15 +0000 (UTC) Received: (qmail 17144 invoked by uid 500); 7 Dec 2012 00:43:14 -0000 Delivered-To: apmail-avro-user-archive@avro.apache.org Received: (qmail 17098 invoked by uid 500); 7 Dec 2012 00:43:14 -0000 Mailing-List: contact user-help@avro.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: user@avro.apache.org Delivered-To: mailing list user@avro.apache.org Received: (qmail 17088 invoked by uid 99); 7 Dec 2012 00:43:14 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 07 Dec 2012 00:43:14 +0000 X-ASF-Spam-Status: No, hits=2.5 required=5.0 tests=HTML_MESSAGE,RCVD_IN_DNSWL_LOW,SPF_SOFTFAIL X-Spam-Check-By: apache.org Received-SPF: softfail (nike.apache.org: transitioning domain of sripad@path.com does not designate 209.85.216.50 as permitted sender) Received: from [209.85.216.50] (HELO mail-qa0-f50.google.com) (209.85.216.50) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 07 Dec 2012 00:43:07 +0000 Received: by mail-qa0-f50.google.com with SMTP id cr7so54342qab.9 for ; Thu, 06 Dec 2012 16:42:46 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=mime-version:date:message-id:subject:from:to:content-type :x-gm-message-state; bh=OFiIThJRozQ9cMwlO22Yw9JV5CP0W2++PRcvfD+PNpM=; b=dLPtf0izQqpeJZUa6CucL0VFYKOQIUXPPNceZ1HfAph0h3CVlfvIX4eallcsQYOu+9 nrC0Xp2+Ajwj3/BUkAia0ZzKiAup8aIJehoqAV1dSf3QUHUhEeJjkl5OehbHsNZEUPvc 6Aupl47S0HEvdRHqaDBpP1h+NGgZAS4j5ElE37Yq0YTBP06c0l2UaFHcxQt/j53TvQJb jTn2bkfDBY3XKy1WuXOOuf7Dpzn4Z1S6AupcKtUy+nDdwkxSQy0QTlPDGeWnDVpJC/PC duIxhbvzD52Ym014wQ9ojN7M4fT4dLCIzXVueD4EvT9PeK9Ai5yaUORTW6G9EW4XwVQz 994A== MIME-Version: 1.0 Received: by 10.49.2.35 with SMTP id 3mr6058269qer.36.1354840966088; Thu, 06 Dec 2012 16:42:46 -0800 (PST) Received: by 10.49.127.148 with HTTP; Thu, 6 Dec 2012 16:42:46 -0800 (PST) Date: Thu, 6 Dec 2012 16:42:46 -0800 Message-ID: Subject: org.apache.avro.generic.GenericData$Record cannot be cast to From: Sripad Sriram To: user@avro.apache.org Content-Type: multipart/alternative; boundary=047d7b67770082c64104d0387e00 X-Gm-Message-State: ALoCoQkKL0iaHLLVANjLhKlUqio/8HZzDEFMix8EkzbzcCojWt+XsdrQefogCwoL/2QBkD9h78xp X-Virus-Checked: Checked by ClamAV on apache.org --047d7b67770082c64104d0387e00 Content-Type: text/plain; charset=ISO-8859-1 Hi all, I'm having an issue similar to the one described in this thread: http://mail-archives.apache.org/mod_mbox/avro-user/201205.mbox/%3cDUB112-W42C6A00BDBCF4B807CA9B81150@phx.gbl%3e Essentially, I'm building a Hadoop job using SpecificRecord outputs from my Mapper and Reducer rather than GenericRecords and getting the exception "org.apache.avro.generic.GenericData$Record cannot be cast to" from my Reducer. I'm using Hadoop 1.0 and Avro 1.7.2. Any insights on this? thanks! --047d7b67770082c64104d0387e00 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Hi all,

I'm having an issue similar to the one descr= ibed in this thread:


Essentially, I'm building a Hadoop job using Specif= icRecord outputs from my Mapper and Reducer rather than GenericRecords and = getting the exception "org.apache.avro.generic.GenericData$Record cann= ot be cast to" from my Reducer.

I'm using Hadoop 1.0 and Avro 1.7.2.

=
Any insights on this?

thanks!
--047d7b67770082c64104d0387e00--