You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@accumulo.apache.org by "Adam Fuchs (JIRA)" <ji...@apache.org> on 2013/05/18 04:35:16 UTC

[jira] [Reopened] (ACCUMULO-1421) use reflection to improve compatibility between Hadoop 1 and 2 JobContext objects

     [ https://issues.apache.org/jira/browse/ACCUMULO-1421?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Adam Fuchs reopened ACCUMULO-1421:
----------------------------------


Mike Berman found another issue: org.apache.hadoop.net.NetUtils.getInputStream(Ljava/net/Socket;J)Ljava/io/InputStream; became org.apache.hadoop.net.NetUtils.getInputStream(Ljava/net/Socket;J)Lorg/apache/hadoop/net/SocketInputWrapper;. We use this at org.apache.accumulo.core.util.TTimeoutTransport.create(TTimeoutTransport.java:39). This breaks bytecode compatibility, but not source code compatibility. Time for more reflection!
                
> 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