Return-Path: X-Original-To: apmail-hadoop-user-archive@minotaur.apache.org Delivered-To: apmail-hadoop-user-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 3037EE1FC for ; Wed, 27 Feb 2013 18:34:59 +0000 (UTC) Received: (qmail 34891 invoked by uid 500); 27 Feb 2013 18:34:54 -0000 Delivered-To: apmail-hadoop-user-archive@hadoop.apache.org Received: (qmail 34682 invoked by uid 500); 27 Feb 2013 18:34:54 -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 34673 invoked by uid 99); 27 Feb 2013 18:34:54 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 27 Feb 2013 18:34:54 +0000 X-ASF-Spam-Status: No, hits=-0.7 required=5.0 tests=RCVD_IN_DNSWL_LOW,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of paul.van.hoven@googlemail.com designates 209.85.210.171 as permitted sender) Received: from [209.85.210.171] (HELO mail-ia0-f171.google.com) (209.85.210.171) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 27 Feb 2013 18:34:47 +0000 Received: by mail-ia0-f171.google.com with SMTP id z13so745643iaz.2 for ; Wed, 27 Feb 2013 10:34:27 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlemail.com; s=20120113; h=mime-version:x-received:date:message-id:subject:from:to :content-type; bh=7kQZURURI2Te2hU2OH1KZDSQUiTKOgdQX1qGRoye/O4=; b=UOpMMs4lY6mq5plV46WZOxbXgD+NgBxfdp2U1jCGGIROz+Aki0BjPWlBN12iaDUGed vqyEcuad2oditQzP3HD2eKY9VMy7fBa3UMxF14FHoseuUI/qFayTIlQnJBV7Zd2XV8gF LdkJ2+tHFyrxxbHOBQ0HZLO9xyVRqONYbQuI1446EtF4IH4xetnC2INzRyDfqaglQHjt ni3aRIELC5Kl7lwMcdOjJhY/n4puIzVML1jMsinNAQITSeQtmQz5iFA9FlWm20n/p8zm 3sTFw+zlOqyoXqM9EdUZKLwntKvEoQfgfDvT3SeLbtiHcG/3reUAymenMEmMdtlR+h0q OJrg== MIME-Version: 1.0 X-Received: by 10.50.10.161 with SMTP id j1mr1583351igb.45.1361990067133; Wed, 27 Feb 2013 10:34:27 -0800 (PST) Received: by 10.64.27.226 with HTTP; Wed, 27 Feb 2013 10:34:27 -0800 (PST) Date: Wed, 27 Feb 2013 19:34:27 +0100 Message-ID: Subject: Custom output value for map function From: Paul van Hoven To: user@hadoop.apache.org Content-Type: text/plain; charset=ISO-8859-1 X-Virus-Checked: Checked by ClamAV on apache.org The output value in the map function is in most examples for hadoop something like this: public static class Map extends Mapper Normally outputValue is something like Text or IntWriteable. I got a custom class with its own properties like public class Dog { string name; Date birthday; double weight; } Now how would I accomplish the following map function: public static class Map extends Mapper ?