You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@accumulo.apache.org by "Billie Rinaldi (JIRA)" <ji...@apache.org> on 2012/12/01 17:03:58 UTC

[jira] [Updated] (ACCUMULO-876) Make maven profiles for builds against different versions of hadoop

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

Billie Rinaldi updated ACCUMULO-876:
------------------------------------

    Attachment: ACCUMULO-876.patch

I'm not sure if HDP comes with jars that are distinct from the Apache releases, so a profile should not be necessary for HDP at this point.  I was going to say you should feel free to add a CDH profile, but I'm suspicious because HBase doesn't have one.  I think having vendor-specific dependencies might not be a good practice here.

I have a suggestion for an alternate solution, though.  I just noticed that the zookeeper groupId has changed, so we should be using org.apache.zookeeper everywhere anyway.  I'll upload a new patch with that change.  If I make zookeeper.version a variable, you should be able to compile against CDH by using something like the following, as long as you have your settings.xml configured as you've described (https://github.com/joshelser/accumulo/blob/trunk-cdh3/README.cdh3).  Could you try these out for me, with the new patch?

mvn clean package -Dhadoop.version=0.20.2-cdh3u5 -Dzookeeper.version=3.3.5-cdh3u5
mvn clean package -Dhadoop.profile=2.0 -Dhadoop.version=2.0.0-cdh4.1.2 -Dzookeeper.version=?

I don't think we should include that README in our release, but we could put the information on our site or link to your instructions from our site.
                
> Make maven profiles for builds against different versions of hadoop
> -------------------------------------------------------------------
>
>                 Key: ACCUMULO-876
>                 URL: https://issues.apache.org/jira/browse/ACCUMULO-876
>             Project: Accumulo
>          Issue Type: Bug
>          Components: dist
>            Reporter: Billie Rinaldi
>            Assignee: Billie Rinaldi
>             Fix For: 1.5.0
>
>         Attachments: ACCUMULO-876.patch, ACCUMULO-876.patch, ACCUMULO-876.patch
>
>
> See http://svn.apache.org/repos/asf/hbase/trunk/pom.xml for an example.

--
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