accumulo-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Adam Fuchs (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (ACCUMULO-1421) use reflection to improve compatibility between Hadoop 1 and 2 JobContext objects
Date Thu, 16 May 2013 18:37:16 GMT

    [ 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

Mime
View raw message