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 D3DD69E70 for ; Thu, 11 Oct 2012 17:50:01 +0000 (UTC) Received: (qmail 25261 invoked by uid 500); 11 Oct 2012 17:49:56 -0000 Delivered-To: apmail-hadoop-user-archive@hadoop.apache.org Received: (qmail 25058 invoked by uid 500); 11 Oct 2012 17:49:56 -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 24958 invoked by uid 99); 11 Oct 2012 17:49:56 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 11 Oct 2012 17:49:56 +0000 X-ASF-Spam-Status: No, hits=2.9 required=5.0 tests=HTML_MESSAGE,SPF_NEUTRAL X-Spam-Check-By: apache.org Received-SPF: neutral (nike.apache.org: local policy) Received: from [206.47.135.205] (HELO Spam1.prd.mpac.ca) (206.47.135.205) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 11 Oct 2012 17:49:48 +0000 Received: from Spam1.prd.mpac.ca (unknown [127.0.0.1]) by IMSVA80 (Postfix) with ESMTP id B136E1D805B for ; Thu, 11 Oct 2012 13:49:23 -0400 (EDT) Received: from SMAIL1.prd.mpac.ca (unknown [172.29.2.53]) by Spam1.prd.mpac.ca (Postfix) with ESMTP id 6A9CB1D805A for ; Thu, 11 Oct 2012 13:49:23 -0400 (EDT) Received: from SMAIL1.prd.mpac.ca ([fe80::d548:4221:967c:4cfb]) by SMAIL1.prd.mpac.ca ([fe80::d548:4221:967c:4cfb%16]) with mapi id 14.02.0318.001; Thu, 11 Oct 2012 13:49:22 -0400 From: "Kartashov, Andy" To: "user@hadoop.apache.org" Subject: setOutputValueClass(*.class) method Thread-Topic: setOutputValueClass(*.class) method Thread-Index: Ac2n2L5oR4ekGJfVQwy778iTFBXg+Q== Date: Thu, 11 Oct 2012 17:49:22 +0000 Message-ID: Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [172.29.60.102] Content-Type: multipart/alternative; boundary="_000_BD42F346AE90F544A731516A805D1B8AD71387SMAIL1prdmpacca_" MIME-Version: 1.0 X-TM-AS-Product-Ver: IMSVA-8.0.0.1304-6.5.0.1024-19264.000 X-TM-AS-Result: No--14.663-5.0-31-10 X-imss-scan-details: No--14.663-5.0-31-10 X-TM-AS-Result-Xfilter: Match text exemption rules:No X-TMASE-MatchedRID: X8U+ZgfjRBIy9zgULewwZr0dPFETpBAH7h2RrsKOiu0G2HMvWEJenvMT uIrC6WWh6kl2CdjzhJO3jcHkn3paeRuzmgyrzghc5gCHftmwEMKOtArbE7dfOSGD+Fp3vZHUg4Q OTGRj/e3h9uQP1XF3gXVALpStBs0qnPecQ/hKOMAAz7oVOD+dyv2pG9o7Zf8hBVxUpH2s9HHl8w LM1NcjZqRGASDuetHK54mbosKUuYfnZVzUukVypGerpxpZwg4L+Gz435tISEHimKcLRvsB1fBYR o06eVj33tjO3hO1fp2sL00KbDwQC4sxYRAg7qHw+KUzuemidPxwsQ2gSTviLwhXVCKc/ywVUdfE Kc10rU4vcgUibwrcmlebGpjHs5mWB6LdRuxZR9vkGAR1SqoA1GmRqNBHmBvelpyqxIUg/ZQpob1 YG10lgpOD6SMIHY43nRZa9eaEbgzPv4rTao98U9p2O88tuUbEdf1BDwBSDGKtWtin95yz0tX4Er I/LcTspa/ET4AkMY5mQ4VS8JI4cA== --_000_BD42F346AE90F544A731516A805D1B8AD71387SMAIL1prdmpacca_ Content-Type: text/plain; charset="us-ascii" Guys, Is there another way to set the output from within the Mapper? My Mapper reads from various serialised files and generates different type of objects for values depending on the returned value of instanceof. I wanted to change the class name within the Mapper as opposed to the driver class. Anyway of doing it? Thanks, Andy NOTICE: This e-mail message and any attachments are confidential, subject to copyright and may be privileged. Any unauthorized use, copying or disclosure is prohibited. If you are not the intended recipient, please delete and contact the sender immediately. Please consider the environment before printing this e-mail. AVIS : le pr?sent courriel et toute pi?ce jointe qui l'accompagne sont confidentiels, prot?g?s par le droit d'auteur et peuvent ?tre couverts par le secret professionnel. Toute utilisation, copie ou divulgation non autoris?e est interdite. Si vous n'?tes pas le destinataire pr?vu de ce courriel, supprimez-le et contactez imm?diatement l'exp?diteur. Veuillez penser ? l'environnement avant d'imprimer le pr?sent courriel --_000_BD42F346AE90F544A731516A805D1B8AD71387SMAIL1prdmpacca_ Content-Type: text/html; charset="us-ascii"

Guys,

 

Is there another way to set the output from within the Mapper?

 

My Mapper reads from various serialised files and generates different type of objects for values depending on the returned value of instanceof. I wanted to change the class name within the Mapper as opposed to the driver class. Anyway of doing it?

 

Thanks,

Andy

 

NOTICE: This e-mail message and any attachments are confidential, subject to copyright and may be privileged. Any unauthorized use, copying or disclosure is prohibited. If you are not the intended recipient, please delete and contact the sender immediately. Please consider the environment before printing this e-mail. AVIS : le présent courriel et toute pièce jointe qui l'accompagne sont confidentiels, protégés par le droit d'auteur et peuvent être couverts par le secret professionnel. Toute utilisation, copie ou divulgation non autorisée est interdite. Si vous n'êtes pas le destinataire prévu de ce courriel, supprimez-le et contactez immédiatement l'expéditeur. Veuillez penser à l'environnement avant d'imprimer le présent courriel --_000_BD42F346AE90F544A731516A805D1B8AD71387SMAIL1prdmpacca_--