[
https://issues.apache.org/jira/browse/HBASE-4327?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
stack updated HBASE-4327:
-------------------------
Resolution: Fixed
Release Note: To compile against a version of hadoop other than 0.20, set
hadoop.profile. When -Dhadoop.profile=22 is specified, HBase will build against
hadoop 0.22. When -Dhadoop.profile=23 is specified, HBase will build against
hadoop 0.23. This is a change in behavior, previously used to be -Dhadoop23.
When nothing is specified, then HBase will build against 0.20
Hadoop Flags: [Reviewed]
Status: Resolved (was: Patch Available)
Committed to TRUNK. I tried it w/o a profile and for 0.23.
Todd, I updated build.apache.org so that our 0.23 build now uses this new flag
instead.
Thanks for the patch Joep. Nice on.
> Compile HBase against hadoop 0.22
> ---------------------------------
>
> Key: HBASE-4327
> URL: https://issues.apache.org/jira/browse/HBASE-4327
> Project: HBase
> Issue Type: Bug
> Components: build
> Affects Versions: 0.92.0
> Reporter: Joep Rottinghuis
> Fix For: 0.92.0
>
> Attachments: HBASE-4327-Michael.patch, HBASE-4327.patch,
> HBASE-4327.patch, HBASE-4327.patch
>
>
> Pom contains a profile for hadoop-0.20 and one for hadoop-0.23, but not one
> for hadoop-0.22.
> When overriding hadoop.version to 0.22, then the (compile-time) dependency on
> hadoop-annotations cannot be met.
> That exists on 0.23 and 0.24/trunk, but not on 0.22.
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira