Return-Path: X-Original-To: apmail-accumulo-notifications-archive@minotaur.apache.org Delivered-To: apmail-accumulo-notifications-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 5282211A20 for ; Fri, 28 Mar 2014 21:27:30 +0000 (UTC) Received: (qmail 81068 invoked by uid 500); 28 Mar 2014 21:27:29 -0000 Delivered-To: apmail-accumulo-notifications-archive@accumulo.apache.org Received: (qmail 81004 invoked by uid 500); 28 Mar 2014 21:27:27 -0000 Mailing-List: contact notifications-help@accumulo.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: jira@apache.org Delivered-To: mailing list notifications@accumulo.apache.org Received: (qmail 80980 invoked by uid 99); 28 Mar 2014 21:27:26 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 28 Mar 2014 21:27:26 +0000 Date: Fri, 28 Mar 2014 21:27:26 +0000 (UTC) From: "ASF subversion and git services (JIRA)" To: notifications@accumulo.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (ACCUMULO-1421) use reflection to improve compatibility between Hadoop 1 and 2 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/ACCUMULO-1421?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13951403#comment-13951403 ] ASF subversion and git services commented on ACCUMULO-1421: ----------------------------------------------------------- Commit 9e5854fb3ff90c0e80523394401f4103eb4212a2 in accumulo's branch refs/heads/1.4.5-SNAPSHOT from [~mdrob@cloudera.com] [ https://git-wip-us.apache.org/repos/asf?p=accumulo.git;h=9e5854f ] ACCUMULO-2564 Backport changes to unify Hadoop 1/2 This is a backport of the changes made for Accumulo 1.5.0 and 1.5.1 to establish binary compatibility with both Hadoop 1 and 2 branches. This work was originally done under several commits and issues, as outlined below. Additionally, there was some new work that needed to be done, but is not applicable to later branches. ACCUMULO-1421, commit c9c0d45 by Adam Fuchs ACCUMULO-1421, commit d7ba6ca by Christopher Tubbs ACCUMULO-1421, commit 261cf36 by Eric Newton ACCUMULO-1421, commit cc3c2d8 by Eric Newton Issue: ACCUMULO-1809 Author: Eric Newton Reason: use reflection tricks to update counters Commit: a7e159219a29ca6f127616fd965aa857900e3f9c Issue: n/a Reason: Delegate reflection to ContextFactory The InsertWithOutputFormat functional test uses ContextFactory, so we have to update that to use the reflection hack as well. And while we're there, might as well keep the code in one place. > use reflection to improve compatibility between Hadoop 1 and 2 > -------------------------------------------------------------- > > Key: ACCUMULO-1421 > URL: https://issues.apache.org/jira/browse/ACCUMULO-1421 > Project: Accumulo > Issue Type: Bug > Components: client > Reporter: Adam Fuchs > Assignee: Adam Fuchs > Fix For: 1.5.0 > > > JobContext switches between an abstract class and an interface in hadoop 1 and 2, causing runtime compatibility problems in the compiled Accumulo bytecode. Avoid the runtime problem by using reflection to access the configuration object stored in the JobContext. -- This message was sent by Atlassian JIRA (v6.2#6252)