Gergely Fürnstáhl created IMPALA-12009:
------------------------------------------
Summary: Build breaks with new version of zookeeper due to nitty
dependency change
Key: IMPALA-12009
URL: https://issues.apache.org/jira/browse/IMPALA-12009
Project: IMPALA
Issue Type: Improvement
Reporter: Gergely Fürnstáhl
Fix For: Impala 4.3.0
{code:java}
23:14:43 2023/03/16 22:14:43 INFO : 22:14:43 [WARNING] Rule 0:
org.apache.maven.plugins.enforcer.BannedDependencies failed with message:
23:14:43 2023/03/16 22:14:43 INFO : Found Banned Dependency:
io.netty:netty-resolver:jar:4.1.86.Final
23:14:43 2023/03/16 22:14:43 INFO : Found Banned Dependency:
io.netty:netty-codec:jar:4.1.86.Final
23:14:43 2023/03/16 22:14:43 INFO : Found Banned Dependency:
io.netty:netty-transport-native-unix-common:jar:4.1.86.Final
23:14:43 2023/03/16 22:14:43 INFO : Found Banned Dependency:
io.netty:netty-transport-native-epoll:jar:4.1.86.Final
23:14:43 2023/03/16 22:14:43 INFO : Found Banned Dependency:
io.netty:netty-transport:jar:4.1.86.Final
23:14:43 2023/03/16 22:14:43 INFO : Found Banned Dependency:
io.netty:netty-handler:jar:4.1.86.Final
23:14:43 2023/03/16 22:14:43 INFO : Found Banned Dependency:
io.netty:netty-transport-classes-epoll:jar:4.1.86.Final
23:14:43 2023/03/16 22:14:43 INFO : Found Banned Dependency:
io.netty:netty-buffer:jar:4.1.86.Final
23:14:43 2023/03/16 22:14:43 INFO : Found Banned Dependency:
io.netty:netty-common:jar:4.1.86.Final
23:14:43 2023/03/16 22:14:43 INFO : 22:14:43 [INFO] Apache Impala Parent POM
4.0.0.7.2.17.0-147 ........ SUCCESS [ 5.144 s]
23:14:43 2023/03/16 22:14:43 INFO : 22:14:43 [INFO] Test Data Generator
4.0.0.7.2.17.0-147 ............. SUCCESS [ 57.900 s]
23:14:43 2023/03/16 22:14:43 INFO : 22:14:43 [INFO]
impala-minimal-s3a-aws-sdk 4.0.0.7.2.17.0-147 ...... SUCCESS [01:01 min]
23:14:43 2023/03/16 22:14:43 INFO : 22:14:43 [INFO] impala-minimal-hive-exec
4.0.0.7.2.17.0-147 ........ SUCCESS [01:46 min]
23:14:43 2023/03/16 22:14:43 INFO : 22:14:43 [INFO] Impala Executor
Dependencies 4.0.0.7.2.17.0-147 .... SUCCESS [ 35.987 s]
23:14:43 2023/03/16 22:14:43 INFO : 22:14:43 [INFO] Apache Impala External
Data Source 4.0.0.7.2.17.0-147 SUCCESS [ 0.003 s]
23:14:43 2023/03/16 22:14:43 INFO : 22:14:43 [INFO] Apache Impala External
Data Source API 4.0.0.7.2.17.0-147 SUCCESS [ 5.195 s]
23:14:43 2023/03/16 22:14:43 INFO : 22:14:43 [INFO] Apache Impala External
Data Source Sample 4.0.0.7.2.17.0-147 SUCCESS [ 0.075 s]
23:14:43 2023/03/16 22:14:43 INFO : 22:14:43 [INFO] Apache Impala External
Data Source Test Library 4.0.0.7.2.17.0-147 SUCCESS [ 0.087 s]
23:14:43 2023/03/16 22:14:43 INFO : 22:14:43 [INFO] Apache Impala Query
Event Hook API 4.0.0.7.2.17.0-147 SUCCESS [ 0.044 s]
23:14:43 2023/03/16 22:14:43 INFO : 22:14:43 [INFO] YARN Extras
4.0.0.7.2.17.0-147 ..................... SUCCESS [ 0.253 s]
23:14:43 2023/03/16 22:14:43 INFO : 22:14:43 [INFO] Apache Impala Query
Engine Frontend 4.0.0.7.2.17.0-147 FAILURE [01:39 min]
23:14:43 2023/03/16 22:14:43 INFO : 22:14:43 [INFO] BUILD FAILURE
23:14:43 2023/03/16 22:14:43 INFO : 22:14:43 [ERROR] Failed to execute goal
org.apache.maven.plugins:maven-enforcer-plugin:3.0.0-M1:enforce
(enforce-banned-dependencies) on project impala-frontend: Some Enforcer rules
have failed. Look above for specific messages explaining why the rule failed.
-> [Help 1] {code}
ZooKeeper changes its nitty dependency handle, netty-all got replaced by other
artifacts.
The problem is either Impala's nitty ban being stricter than package exclusion,
or its is not excluded correctly from everywhere
{code:java}
gfurnstahl@gfurnstahl-OptiPlex-7070:~/Impala(master)$ git grep netty
fe/pom.xml: <groupId>io.netty</groupId>
fe/pom.xml: <!-- IMPALA-9468: Avoid pulling in netty for security
reasons -->
fe/pom.xml: <groupId>io.netty</groupId>
fe/pom.xml: <!-- IMPALA-9648: Ensure that netty-all is not
present. -->
fe/pom.xml: <exclude>io.netty:*</exclude>
java/datagenerator/pom.xml: <!-- IMPALA-9468: Avoid pulling in netty
for security reasons -->
java/datagenerator/pom.xml: <groupId>io.netty</groupId>
java/executor-deps/pom.xml: <!-- IMPALA-9468: Avoid pulling in netty
for security reasons -->
java/executor-deps/pom.xml: <groupId>io.netty</groupId>
java/yarn-extras/pom.xml: <!-- IMPALA-9468: Avoid pulling in netty for
security reasons -->
java/yarn-extras/pom.xml: <groupId>io.netty</groupId> {code}
--
This message was sent by Atlassian Jira
(v8.20.10#820010)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]