[
https://issues.apache.org/jira/browse/HBASE-27065?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Andrew Kyle Purtell updated HBASE-27065:
----------------------------------------
Description:
When building against Hadoop 3.3.3 and any future version of Hadoop
incorporating reload4j, the new Enforcer rule we have active in branch-2.5 and
up to exclude other logging frameworks besides log4j2 will trigger. We need to
add exclusions to prevent that from happening so the build will succeed.
Tested with {{mvn clean install assembly:single -DskipTests
-Dhadoop-three.version=3.3.3}} on master branch and with {{mvn clean install
assembly:single -DskipTests -Dhadoop.profile=3.0 -Dhadoop-three.version=3.3.3}}
on branch-2.5.
I also needed to exclude leveldbjni-all via hadoop-hdfs to avoid a LICENSE file
generation error. hadoop-hdfs is messy and exports this among findbugs and
other clutter. Anyway, better to exclude something we do not require than add
an unnecessary supplemental model.
was:
When building against Hadoop 3.3.3 and any future version of Hadoop
incorporating reload4j, the new Enforcer rule we have active in branch-2.5 and
up to exclude other logging frameworks besides log4j2 will trigger. We need to
add exclusions to prevent that from happening so the build will succeed.
Tested with {{mvn clean install assembly:single -DskipTests
-Dhadoop-three.version=3.3.3}} on master branch and with {{mvn clean install
assembly:single -DskipTests -Dhadoop.profile=3.0 -Dhadoop-three.version=3.3.3}}
on branch-2.5.
I also needed to exclude leveldbjni-all via hadoop-hdfs to avoid a LICENSE file
generation error. hadoop-hdfs is messy and exports this among with findbugs and
other clutter. Anyway, better to exclude something we do not require than add
an unnecessary supplemental model.
> Build against Hadoop 3.3.3
> --------------------------
>
> Key: HBASE-27065
> URL: https://issues.apache.org/jira/browse/HBASE-27065
> Project: HBase
> Issue Type: Bug
> Components: build
> Affects Versions: 2.5.0
> Reporter: Andrew Kyle Purtell
> Assignee: Andrew Kyle Purtell
> Priority: Major
> Fix For: 2.5.0, 3.0.0-alpha-3
>
>
> When building against Hadoop 3.3.3 and any future version of Hadoop
> incorporating reload4j, the new Enforcer rule we have active in branch-2.5
> and up to exclude other logging frameworks besides log4j2 will trigger. We
> need to add exclusions to prevent that from happening so the build will
> succeed.
> Tested with {{mvn clean install assembly:single -DskipTests
> -Dhadoop-three.version=3.3.3}} on master branch and with {{mvn clean install
> assembly:single -DskipTests -Dhadoop.profile=3.0
> -Dhadoop-three.version=3.3.3}} on branch-2.5.
> I also needed to exclude leveldbjni-all via hadoop-hdfs to avoid a LICENSE
> file generation error. hadoop-hdfs is messy and exports this among findbugs
> and other clutter. Anyway, better to exclude something we do not require than
> add an unnecessary supplemental model.
--
This message was sent by Atlassian Jira
(v8.20.7#820007)