gora-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Mikhail Bernadsky (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (GORA-346) Create shim layer to support multiple hadoop versions
Date Sun, 13 Jul 2014 04:36:04 GMT

    [ https://issues.apache.org/jira/browse/GORA-346?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14059989#comment-14059989

Mikhail Bernadsky commented on GORA-346:


I am attaching my patch, as I mentioned, it uses munge and has two profiles: "hadoop1", which
builds gora with the current versions of hadoop and hbase, and "hadoop2", which builds it
with hadoop 2.3.0 and hbase 0.96.1. 

"mvn package" builds hadoop1 profile, and the artifacts should look exactly as they look now.
"mvn -Dhadoop.version=2" builds hadoop2 dependent version, and the artifacts have hadoop2
suffix, for example,  gora-core-0.5-SNAPSHOT-hadoop2.jar. Note, due to a bug/feature in maven
I was not able to use mvn -Phadoop2 - profiles have to be activated with a system property,
otherwise the transitive dependencies are lost. All unit tests are passing for both profiles.

Let me know if you have any questions and I'd be glad to help. 

> 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

View raw message