Csaba Ringhofer has uploaded this change for review. (
http://gerrit.cloudera.org:8080/24899
Change subject: Exclude hadoop-yarn-registry from minimal-hive-exec to unbreak
Apache Hive builds
......................................................................
Exclude hadoop-yarn-registry from minimal-hive-exec to unbreak Apache Hive
builds
With USE_APACHE_HIVE_3=true / USE_APACHE_COMPONENTS=true, the frontend build
failed the maven-enforcer banned-dependencies rule:
Found Banned Dependency: com.sun.jersey:jersey-server:jar:1.19
Apache Hive 3.1.3's hive-exec is built against Hadoop 3.1.0, so it transitively
pulls hadoop-yarn-registry:3.1.0 -> hadoop-yarn-common:3.1.0 ->
jersey-server:1.19.
The maven-shade-plugin strips these from the installed dependency-reduced pom,
so a
standalone frontend build is clean, but in a full reactor build the frontend
resolves
impala-minimal-hive-exec as a reactor project (original pom) and the
transitives leak
back onto its classpath, tripping the ban. hadoop-yarn-registry:3.1.0 is also
off the
pinned Hadoop version and would fail enforce-dependency-versions next.
Exclude hadoop-yarn-registry (unused by Impala) at the hive-exec dependency.
Change-Id: If428ef0f57ea74308865715021dbc885c00c31a4
Co-Authored-By: Claude Opus 4.8 (1M context) <[email protected]>
---
M java/shaded-deps/hive-exec/pom.xml
1 file changed, 9 insertions(+), 0 deletions(-)
git pull ssh://gerrit.cloudera.org:29418/Impala-ASF refs/changes/99/24899/1
--
To view, visit http://gerrit.cloudera.org:8080/24899
To unsubscribe, visit http://gerrit.cloudera.org:8080/settings
Gerrit-Project: Impala-ASF
Gerrit-Branch: master
Gerrit-MessageType: newchange
Gerrit-Change-Id: If428ef0f57ea74308865715021dbc885c00c31a4
Gerrit-Change-Number: 24899
Gerrit-PatchSet: 1
Gerrit-Owner: Csaba Ringhofer <[email protected]>