Return-Path: X-Original-To: apmail-hadoop-common-user-archive@www.apache.org Delivered-To: apmail-hadoop-common-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 C716910DEF for ; Mon, 29 Apr 2013 21:00:11 +0000 (UTC) Received: (qmail 53665 invoked by uid 500); 29 Apr 2013 21:00:06 -0000 Delivered-To: apmail-hadoop-common-user-archive@hadoop.apache.org Received: (qmail 53362 invoked by uid 500); 29 Apr 2013 21:00:06 -0000 Mailing-List: contact user-help@hadoop.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: user@hadoop.apache.org Delivered-To: mailing list user@hadoop.apache.org Received: (qmail 53355 invoked by uid 99); 29 Apr 2013 21:00:06 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 29 Apr 2013 21:00:06 +0000 X-ASF-Spam-Status: No, hits=3.4 required=5.0 tests=HTML_MESSAGE,HTML_OBFUSCATE_10_20,RCVD_IN_DNSWL_NONE,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of alxsss@aim.com designates 64.12.143.78 as permitted sender) Received: from [64.12.143.78] (HELO omr-m04.mx.aol.com) (64.12.143.78) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 29 Apr 2013 20:59:59 +0000 Received: from mtaomg-mb05.r1000.mx.aol.com (mtaomg-mb05.r1000.mx.aol.com [172.29.41.76]) by omr-m04.mx.aol.com (Outbound Mail Relay) with ESMTP id 9ED9770001D70 for ; Mon, 29 Apr 2013 16:59:37 -0400 (EDT) Received: from core-mid001c.r1000.mail.aol.com (core-mid001.r1000.mail.aol.com [172.29.104.65]) by mtaomg-mb05.r1000.mx.aol.com (OMAG/Core Interface) with ESMTP id 6FDB9E000086 for ; Mon, 29 Apr 2013 16:59:37 -0400 (EDT) To: user@hadoop.apache.org Subject: reducer gets values with empty attributes X-MB-Message-Source: WebUI X-MB-Message-Type: User MIME-Version: 1.0 From: alxsss@aim.com Content-Type: multipart/alternative; boundary="--------MB_8D0133397E4868D_229C_1269F_webmail-m128.sysops.aol.com" X-Mailer: AOL Webmail 37688-STANDARD Received: from 64.206.229.106 by webmail-m128.sysops.aol.com (149.174.9.15) with HTTP (WebMailUI); Mon, 29 Apr 2013 16:59:37 -0400 Message-Id: <8D0133397D89FA8-229C-4872@webmail-m128.sysops.aol.com> X-Originating-IP: [64.206.229.106] Date: Mon, 29 Apr 2013 16:59:37 -0400 (EDT) x-aol-global-disposition: G DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=mx.aol.com; s=20121107; t=1367269177; bh=lmxcxbWK0jE+RAnIOOWwZaTphkLl4x+Vnma8pELbU5g=; h=From:To:Subject:Message-Id:Date:MIME-Version:Content-Type; b=b3FI2UzWjH+vQaJ1QPm6tp6BOlbvXXlDbwOxrvuptEM7Jcv/RYd233F88b2yrW6B2 tm1GQdR4uoNVlcuZ8xmZp+6ZuVk62u5ZyzLwZkIVLifqalR9aibpOwXB9z1y2mwWKi gIOxnkkwThy6if07l1CbMZLpx/fIjvDZm9nQLEO8= X-AOL-SCOLL-SCORE: 0:2:304521248:93952408 X-AOL-SCOLL-URL_COUNT: 0 x-aol-sid: 3039ac1d294c517edf3924a9 X-Virus-Checked: Checked by ClamAV on apache.org This is a multi-part message in MIME format. ----------MB_8D0133397E4868D_229C_1269F_webmail-m128.sysops.aol.com Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="us-ascii" Hello, I try to write mapreduce program in hadoop -1.0.4. using mapred libs. I hav= e a map function which gets keys and creates a different object with a few attributes like id and etc a= nd passes it to reducer function using output.collect(key, value); Reducer gets keys, but values has empty fields (like id and etc) , althou= gh map correctly assigns these fields to each value. Any ideas why this happens? Thanks. Alex. ----------MB_8D0133397E4868D_229C_1269F_webmail-m128.sysops.aol.com Content-Transfer-Encoding: quoted-printable Content-Type: text/html; charset="us-ascii"
Hello,

I try to write mapreduce program in hadoop -1.0.4. using mapred libs. I hav=
e a map function which gets
keys and creates a different object with a few attributes like id and etc a= nd passes it to reducer function using

output.collect(key, value);

Reducer gets keys, but values has empty fields (like id and etc) , although map correctly assigns th= ese fields to each value. Any ideas why this happens? Thanks. Alex.
----------MB_8D0133397E4868D_229C_1269F_webmail-m128.sysops.aol.com--