Return-Path: Delivered-To: apmail-hadoop-mapreduce-issues-archive@minotaur.apache.org Received: (qmail 70341 invoked from network); 23 Jun 2010 04:34:20 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 23 Jun 2010 04:34:20 -0000 Received: (qmail 44548 invoked by uid 500); 23 Jun 2010 04:34:20 -0000 Delivered-To: apmail-hadoop-mapreduce-issues-archive@hadoop.apache.org Received: (qmail 43846 invoked by uid 500); 23 Jun 2010 04:34:16 -0000 Mailing-List: contact mapreduce-issues-help@hadoop.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: mapreduce-issues@hadoop.apache.org Delivered-To: mailing list mapreduce-issues@hadoop.apache.org Received: (qmail 43820 invoked by uid 99); 23 Jun 2010 04:34:14 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 23 Jun 2010 04:34:14 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.22] (HELO thor.apache.org) (140.211.11.22) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 23 Jun 2010 04:34:12 +0000 Received: from thor (localhost [127.0.0.1]) by thor.apache.org (8.13.8+Sun/8.13.8) with ESMTP id o5N4XpK4026613 for ; Wed, 23 Jun 2010 04:33:51 GMT Message-ID: <7081969.8711277267631062.JavaMail.jira@thor> Date: Wed, 23 Jun 2010 00:33:51 -0400 (EDT) From: "Amareshwari Sriramadasu (JIRA)" To: mapreduce-issues@hadoop.apache.org Subject: [jira] Created: (MAPREDUCE-1888) Streaming overrides user given output key and value types. MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 X-Virus-Checked: Checked by ClamAV on apache.org Streaming overrides user given output key and value types. ---------------------------------------------------------- Key: MAPREDUCE-1888 URL: https://issues.apache.org/jira/browse/MAPREDUCE-1888 Project: Hadoop Map/Reduce Issue Type: Bug Components: contrib/streaming Affects Versions: 0.21.0 Reporter: Amareshwari Sriramadasu Fix For: 0.22.0 The following code in StreamJob.java overrides user given output key and value types. {code} idResolver.resolve(conf.get(StreamJobConfig.MAP_OUTPUT, IdentifierResolver.TEXT_ID)); conf.setClass(StreamJobConfig.MAP_OUTPUT_READER_CLASS, idResolver.getOutputReaderClass(), OutputReader.class); job.setMapOutputKeyClass(idResolver.getOutputKeyClass()); job.setMapOutputValueClass(idResolver.getOutputValueClass()); idResolver.resolve(conf.get(StreamJobConfig.REDUCE_OUTPUT, IdentifierResolver.TEXT_ID)); conf.setClass(StreamJobConfig.REDUCE_OUTPUT_READER_CLASS, idResolver.getOutputReaderClass(), OutputReader.class); job.setOutputKeyClass(idResolver.getOutputKeyClass()); job.setOutputValueClass(idResolver.getOutputValueClass()); {code} -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.