[
https://issues.apache.org/jira/browse/GORA-346?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14045677#comment-14045677
]
Moritz Hoffmann edited comment on GORA-346 at 6/27/14 8:59 AM:
---------------------------------------------------------------
I think the best approach is to switch to Hadoop 2 for Gora and use the shims
layer to maintain compatibility with Hadoop 1. This is based on the assumption
that Hadoop 1 will eventually disappear. So far there's no patch for
specifically this, but I'll come up with one. Thanks for the Java code
formatting hint!
The difference between v3 and v4 is that v4 introduces another module providing
the Hadoop dependencies. Using Maven profiles the right dependency could be
selected. I would not go for this solution because the artifact name does not
mirror the build profile setting, i.e. from outside the two are
indistinguishable. Potentially, this could be a problem when publishing to
maven central etc.
was (Author: antiguru):
I think the best approach is to switch to Hadoop for Gora and use the shims
layer to maintain compatibility with Hadoop 1. This is based on the assumption
that Hadoop 1 will eventually disappear. So far there's no patch for
specifically this, but I'll come up with one. Thanks for the Java code
formatting hint!
The difference between v3 and v4 is that v4 introduces another module providing
the Hadoop dependencies. Using Maven profiles the right dependency could be
selected. I would not go for this solution because the artifact name does not
mirror the build profile setting, i.e. from outside the two are
indistinguishable. Potentially, this could be a problem when publishing to
maven central etc.
> Create shim layer to support multiple hadoop versions
> -----------------------------------------------------
>
> Key: GORA-346
> URL: https://issues.apache.org/jira/browse/GORA-346
> Project: Apache Gora
> Issue Type: Improvement
> Affects Versions: 0.5
> Reporter: Renato Javier MarroquĂn Mogrovejo
> Assignee: Moritz Hoffmann
> Labels: patch
> Attachments: GORA-346_v1.patch, GORA-346_v2.patch, GORA-346_v3.patch,
> GORA-346_v4_profiles.patch
>
>
--
This message was sent by Atlassian JIRA
(v6.2#6252)