accumulo-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "ASF subversion and git services (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (ACCUMULO-1421) use reflection to improve compatibility between Hadoop 1 and 2
Date Fri, 28 Mar 2014 21:27:32 GMT

    [ https://issues.apache.org/jira/browse/ACCUMULO-1421?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13951405#comment-13951405
] 

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)

Mime
View raw message