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

Keith Turner commented on ACCUMULO-1421:
----------------------------------------

bq. Should we consider making a core.util.CompatibilityLayer 

I like the idea of having all of this crazy reflection code in one place.  Do 
not really have a good reason.  I just do not like the idea of it sprinkled 
throughout the codebase.
                
> 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

Reply via email to