[
https://issues.apache.org/jira/browse/PHOENIX-6027?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17160916#comment-17160916
]
Istvan Toth commented on PHOENIX-6027:
--------------------------------------
This the CLI that I've tested with:
{noformat}
mvn clean package -Phbase-2 -Dhbase2.version=2.3.0 -Dhadoop2.version=3.1.2
-Dzookeeper.version=3.5.7 -Dslf4j.version=1.7.30
-Dprotoc.path=/opt/toolchain/protobuf-2.5.0/bin/{noformat}
> Make Omid testable with HBase built for Hadoop3
> -----------------------------------------------
>
> Key: PHOENIX-6027
> URL: https://issues.apache.org/jira/browse/PHOENIX-6027
> Project: Phoenix
> Issue Type: Improvement
> Components: omid
> Reporter: Istvan Toth
> Assignee: Istvan Toth
> Priority: Major
>
> Omid tests cannot be run with HBase built for Hadoop3.
> The HBase2 maven artifacts have transitive dependencies on Hadoop2, even when
> built with -Dhadoop.profile=3.0.
> This is handled in Phoenix by dependencyManaging every Hadoop dependency, so
> we don't hit it there.
> However, we don't do that in Omid, and we run into Hadoop version conflicts
> when running the tests (HBase built against Hadoop3, but run against Hadoop2)
> This shouldn't affect the resulting Omid artifacts, as they don't include
> actual Hbase or Hadoop code (only dependencies are declared)
--
This message was sent by Atlassian Jira
(v8.3.4#803005)