accumulo-notifications mailing list archives

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

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

Christopher Tubbs commented on ACCUMULO-1421:
---------------------------------------------

{quote}We will only need to to make one binary package that will
work against either Hadoop 1 or 2.{quote}

Hopefully that is a true statement.

{quote}Would it be possible or desirable to make Hadoop 1 and Hadoop 2 testing
modules to test against whichever jars we're not building against?{quote}

Desirable, definitely. Certainly it's possible to run the python test suite on both. It might
be possible to create some explicit integration tests in the build, but I'm not entirely sure
how the dependencies management would need to work for that (probably would have to be two
different sub-modules of the test module).
                
> 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 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