[
https://issues.apache.org/jira/browse/HBASE-22574?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16863083#comment-16863083
]
Wellington Chevreuil commented on HBASE-22574:
----------------------------------------------
{quote}java.lang.NoClassDefFoundError: org/apache/hadoop/hdfs/MiniDFSCluster
Caused by: java.lang.ClassNotFoundException:
org.apache.hadoop.hdfs.MiniDFSCluster
with `mvn verify -Dhbase.profile=1 -Dhadoop.profile=2`{quote}
This is weird, as pointed by [~liuml07] on the PR, running `mvn clean install
-Dhbase.profile=1 -Dhadoop.version=2.9.2` works. Looks like the proper profile
for hadoop does not get activated when setting both hadoop and hbase profiles?
I get same error with `mvn verify -Dhbase.profile=1 -Dhadoop.profile=3`.
[~apurtell], how back in hadoop versions would you think we should make it
compatible with? I had noticed hbase branch-1.4 currently defines 2.7.4 as its
hadoop2 default version, and branch-1 defines 2.8.5. HBoss currently does not
compile neither with 2.7.x, nor 2.8.x, so 2.9.0 is the minimum. Would you think
this would be a problem in terms of hbase 1 compatibility?
> hbase-filesystem does not build against HBase 1
> -----------------------------------------------
>
> Key: HBASE-22574
> URL: https://issues.apache.org/jira/browse/HBASE-22574
> Project: HBase
> Issue Type: Bug
> Reporter: Andrew Purtell
> Assignee: Andrew Purtell
> Priority: Major
> Attachments: HBASE-22574.patch, HBASE-22574.patch, HBASE-22574.patch
>
>
> hbase-filesystem does not build against HBase 1 because HBase 1 does not
> provide a hbase-zookeeper module, which is a required dependency. This could
> be moved into a version specific build profile.
> $ mvn clean install package -Dhbase.version=1.4.10 -Dhadoop.version=2.9.2
> ...
> [ERROR] Failed to execute goal on project hbase-oss:
> Could not resolve dependencies for project
> org.apache.hbase.filesystem:hbase-oss:jar:1.0.0-alpha1:
> The following artifacts could not be resolved:
> org.apache.hbase:hbase-zookeeper:jar:1.4.10,
> org.apache.hbase:hbase-zookeeper:jar:tests:1.4.10:
> Could not find artifact org.apache.hbase:hbase-zookeeper:jar:1.4.10 in
> central (https://repo.maven.apache.org/maven2)
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)