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 23C7D9001 for ; Thu, 16 May 2013 18:37:16 +0000 (UTC) Received: (qmail 25503 invoked by uid 500); 16 May 2013 18:37:16 -0000 Delivered-To: apmail-accumulo-notifications-archive@accumulo.apache.org Received: (qmail 25474 invoked by uid 500); 16 May 2013 18:37:16 -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 25464 invoked by uid 99); 16 May 2013 18:37:16 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 16 May 2013 18:37:16 +0000 Date: Thu, 16 May 2013 18:37:16 +0000 (UTC) From: "Adam Fuchs (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 JobContext objects 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=13659810#comment-13659810 ] Adam Fuchs commented on ACCUMULO-1421: -------------------------------------- RE location of getConfiguration: how about if we make it package protected in InputFormatBase for now? RE compatibility layer: As a general solution I would say that's a good solution, but since we can (in theory) enumerate all of the versions we want to be compatible with it's better if we can just make one simple release to rule them all. RE 1.5 vs. trunk: Is there another point of incompatibility? If this just fixes the problem entirely then we definitely want to have it in 1.5.0. If not, then we haven't sacrificed much by putting it in 1.5. Sean, are you running compatibility tests with CDH 3 and 4? > use reflection to improve compatibility between Hadoop 1 and 2 JobContext objects > --------------------------------------------------------------------------------- > > 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 > > 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 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