[
https://issues.apache.org/jira/browse/HBASE-6929?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Enis Soztutar updated HBASE-6929:
---------------------------------
Attachment: hbase-6929_v2.patch
@Stack I cannot agree more on maven not making any sense :)
It seems from your tests, classifiers just does not work for tests, sources,
etc with hadoop2. Then the only remaining option is to change the version
string I guess.
I am attaching a patch which does that. It seems it can work:
{code}
mvn install -DskipTests -Dhadoop.profile=2.0
{code}
{code}
[INFO] --- maven-install-plugin:2.3:install (default-install) @ hbase ---
[INFO] Installing
/Users/enis/projects/hbase-0.94/target/hbase-0.94.3-SNAPSHOT-hadoop2.jar to
/Users/enis/.m2/repository/org/apache/hbase/hbase/0.94.3-SNAPSHOT-hadoop2/hbase-0.94.3-SNAPSHOT-hadoop2.jar
[INFO] Installing /Users/enis/projects/hbase-0.94/pom.xml to
/Users/enis/.m2/repository/org/apache/hbase/hbase/0.94.3-SNAPSHOT-hadoop2/hbase-0.94.3-SNAPSHOT-hadoop2.pom
[INFO] Installing
/Users/enis/projects/hbase-0.94/target/hbase-0.94.3-SNAPSHOT-hadoop2-tests.jar
to
/Users/enis/.m2/repository/org/apache/hbase/hbase/0.94.3-SNAPSHOT-hadoop2/hbase-0.94.3-SNAPSHOT-hadoop2-tests.jar
[INFO] Installing
/Users/enis/projects/hbase-0.94/target/hbase-0.94.3-SNAPSHOT-hadoop2-sources.jar
to
/Users/enis/.m2/repository/org/apache/hbase/hbase/0.94.3-SNAPSHOT-hadoop2/hbase-0.94.3-SNAPSHOT-hadoop2-sources.jar
{code}
The downside is that the version changes, which can bring it's own set of
problems. Wdyt?
> Publish Hbase 0.94 artifacts build against hadoop-2.0
> -----------------------------------------------------
>
> Key: HBASE-6929
> URL: https://issues.apache.org/jira/browse/HBASE-6929
> Project: HBase
> Issue Type: Task
> Components: build
> Affects Versions: 0.94.2
> Reporter: Enis Soztutar
> Attachments: 6929.txt, hbase-6929_v2.patch
>
>
> Downstream projects (flume, hive, pig, etc) depends on hbase, but since the
> hbase binaries build with hadoop-2.0 are not pushed to maven, they cannot
> depend on them. AFAIK, hadoop 1 and 2 are not binary compatible, so we should
> also push hbase jars build with hadoop2.0 profile into maven, possibly with
> version string like 0.94.2-hadoop2.0.
--
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