hbase-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Tong Pham <tp...@quantcast.com>
Subject Re: HBase 0.98.9 with Hadoop 2.6.0 libraries
Date Thu, 12 Feb 2015 23:14:54 GMT
Hi Andrew and Ted,

Thanks for the timely response. It took a bit of setting up for us,
but we were finally able to build HBase 0.98.9 against Hadoop 2.6.0.

This is what I got in my rpm spec file:
            cd %{_hbasesrc}
            MAVEN_OPTS="-Xmx3g"
            export MAVEN_OPTS
            mvn clean install -DskipTests
            mvn -DskipTests -Dhadoop-two.version=2.6.0 -P hadoop-2.0 site instal
l
assembly:single
            cd %{_hbasesrc}/hbase-assembly/target
            tar -xvf hbase-0.98.9-bin.tar.gz # this is the produced tarball whic
h we then put
into our own package

It's odd that I had to run mvn clean install -DskipTests separately. Otherwise,
we run into
problems with dependencies. E.g.:

[INFO] ------------------------------------------------------------------------
[INFO] Reactor Summary:
[INFO]
[INFO] HBase ............................................. FAILURE [1:19.195s]
[INFO] HBase - Checkstyle ................................ SKIPPED
[INFO] HBase - Annotations ............................... SKIPPED
...
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-site-plugin:3.3:si
te
(default-site) on project hbase: failed to get report for org.apache.maven.plugi
ns:maven-
javadoc-plugin: Failed to execute goal on project hbase-common: Could not resolv
e
dependencies for project org.apache.hbase:hbase-common:jar:0.98.9: The following

artifacts could not be resolved: org.apache.hbase:hbase-annotations:jar:0.98.9,
org.apache.hbase:hbase-annotations:jar:tests:0.98.9: Could not find artifact
org.apache.hbase:hbase-annotations:jar:0.98.9 in apache release
(https://repository.apache.org/content/repositories/releases/) -> [Help 1]

Other than that, I can confirm that HBase built against 2.6.0 is working flawles
sly on top
of our HDFS 2.6.0 cluster. ^_^

Regards,
Tong



Mime
View raw message