Return-Path: X-Original-To: apmail-hadoop-common-issues-archive@minotaur.apache.org Delivered-To: apmail-hadoop-common-issues-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 59B0E926A for ; Fri, 3 Feb 2012 21:45:18 +0000 (UTC) Received: (qmail 4368 invoked by uid 500); 3 Feb 2012 21:45:17 -0000 Delivered-To: apmail-hadoop-common-issues-archive@hadoop.apache.org Received: (qmail 3795 invoked by uid 500); 3 Feb 2012 21:45:17 -0000 Mailing-List: contact common-issues-help@hadoop.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: common-issues@hadoop.apache.org Delivered-To: mailing list common-issues@hadoop.apache.org Received: (qmail 3586 invoked by uid 99); 3 Feb 2012 21:45:16 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 03 Feb 2012 21:45:16 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=5.0 tests=ALL_TRUSTED,T_RP_MATCHES_RCVD X-Spam-Check-By: apache.org Received: from [140.211.11.116] (HELO hel.zones.apache.org) (140.211.11.116) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 03 Feb 2012 21:45:14 +0000 Received: from hel.zones.apache.org (hel.zones.apache.org [140.211.11.116]) by hel.zones.apache.org (Postfix) with ESMTP id A028818CE2A for ; Fri, 3 Feb 2012 21:44:53 +0000 (UTC) Date: Fri, 3 Feb 2012 21:44:53 +0000 (UTC) From: "Anupam Seth (Created) (JIRA)" To: common-issues@hadoop.apache.org Message-ID: <31516168.9170.1328305493657.JavaMail.tomcat@hel.zones.apache.org> Subject: [jira] [Created] (HADOOP-8021) Hadoop ignores old-style config options for enabling compressed output when passed on from PIG 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 Hadoop ignores old-style config options for enabling compressed output when passed on from PIG ---------------------------------------------------------------------------------------------- Key: HADOOP-8021 URL: https://issues.apache.org/jira/browse/HADOOP-8021 Project: Hadoop Common Issue Type: Bug Components: conf Affects Versions: 0.23.1 Reporter: Anupam Seth Assignee: Anupam Seth Fix For: 0.23.1 Hadoop seems to ignore the config options even though they are printed as deprecation warnings in the log: mapred.output.compress and mapred.output.compression.codec - settings that work on 0.20 but not on 0.23 mapred.output.compress=true mapred.output.compression.codec=org.apache.hadoop.io.compress.BZip2Codec - settings that work on 0.23 mapreduce.output.fileoutputformat.compress=true mapreduce.output.fileoutputformat.compress.codec=org.apache.hadoop.io.compress.BZip2Codec This breaks backwards compatibility and causes existing jobs to fail. This was found to happen due to the JobSubmitter writing out the job.xml file with the old-style configs and can be fixed by handdling deprecation before the file is written out. -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa For more information on JIRA, see: http://www.atlassian.com/software/jira