accumulo-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Billie Rinaldi (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (ACCUMULO-876) Make maven profiles for builds against different versions of hadoop
Date Tue, 27 Nov 2012 20:07:57 GMT

     [ 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

Anyone want to take a look at this patch?  By default, if you run mvn clean package it will
compile against hadoop 1.0.4.  If you use mvn clean package -Dhadoop.profile=2.0, it will
use hadoop 2.0.2-alpha.  You can also change which 1.0 or 2.0 compatible version you'd like
to compile against by using -Dhadoop-one.version=<version> or -Dhadoop-two.version=<version>.
 I tested with 0.20.205.0 and 1.1.0 in addition to the main versions.  It doesn't work yet
with hadoop 0.23.  The only issue I had is that occasionally the first run of mvn clean package
would fail on the classloader test, then the second run would complete successfully.

I removed the JobTracker table from the monitor page to make this work.

Does anyone think I should use hadoop.version as the property name instead of hadoop-one and
hadoop-two?  Any additional profiles I should add from the start?
                
> 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
>
>
> 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

Mime
View raw message