Return-Path: X-Original-To: apmail-crunch-dev-archive@www.apache.org Delivered-To: apmail-crunch-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 58B7710D43 for ; Fri, 5 Jul 2013 10:35:52 +0000 (UTC) Received: (qmail 32594 invoked by uid 500); 5 Jul 2013 10:35:52 -0000 Delivered-To: apmail-crunch-dev-archive@crunch.apache.org Received: (qmail 32493 invoked by uid 500); 5 Jul 2013 10:35:50 -0000 Mailing-List: contact dev-help@crunch.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@crunch.apache.org Delivered-To: mailing list dev@crunch.apache.org Received: (qmail 32472 invoked by uid 500); 5 Jul 2013 10:35:49 -0000 Delivered-To: apmail-incubator-crunch-dev@incubator.apache.org Received: (qmail 32456 invoked by uid 99); 5 Jul 2013 10:35:48 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 05 Jul 2013 10:35:48 +0000 Date: Fri, 5 Jul 2013 10:35:48 +0000 (UTC) From: "Tom White (JIRA)" To: crunch-dev@incubator.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Updated] (CRUNCH-235) Avoid exposing incompatible Hadoop classes in Crunch API MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/CRUNCH-235?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Tom White updated CRUNCH-235: ----------------------------- Attachment: CRUNCH-235.patch This patch deprecates and provides alternatives for public methods that expose Counter. > Avoid exposing incompatible Hadoop classes in Crunch API > -------------------------------------------------------- > > Key: CRUNCH-235 > URL: https://issues.apache.org/jira/browse/CRUNCH-235 > Project: Crunch > Issue Type: Improvement > Components: Core > Reporter: Tom White > Assignee: Tom White > Attachments: CRUNCH-235.patch > > > Between Hadoop 1 and 2, org.apache.hadoop.mapreduce.Counter changed from a class to an interface. Therefore, exposing Counter in Crunch's API means that Crunch programs may need to be recompiled when moving from a Hadoop 1 to a Hadoop 2 cluster. It would be nice to avoid the need to recompile. > Note that Crunch itself has two artifacts - one for each major version of Hadoop - and the change proposed here would not alter that, it would just mean that the same Crunch program binary could be used with either Crunch artifact. -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira