Quanlong Huang created IMPALA-10449:
---------------------------------------
Summary: FE build failes after upgrading ranger to a version with
RANGER-3091
Key: IMPALA-10449
URL: https://issues.apache.org/jira/browse/IMPALA-10449
Project: IMPALA
Issue Type: Bug
Reporter: Quanlong Huang
RANGER-3091 explicitly includes org.eclipse.jetty:jetty-client which is banned
in our dependencies:
[https://github.com/apache/impala/blob/6d4756da0123b8b4e0b49e1d7e37651dc02db7fd/fe/pom.xml#L728]
When upgrading ranger to a version containing RANGER-3091, FE compilation fails
with
{code:java}
[WARNING] Rule 0: org.apache.maven.plugins.enforcer.BannedDependencies failed
with message:
Found Banned Dependency: org.eclipse.jetty:jetty-client:jar:9.4.31.v20200723
Found Banned Dependency: org.eclipse.jetty:jetty-http:jar:9.4.31.v20200723
Found Banned Dependency: org.eclipse.jetty:jetty-io:jar:9.4.31.v20200723
Use 'mvn dependency:tree' to locate the source of the banned dependencies.
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 5.029s
[INFO] Finished at: Sat Jan 23 21:35:08 PST 2021
[INFO] Final Memory: 49M/1214M
[INFO] ------------------------------------------------------------------------
[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}
They are introduced by ranger-plugins-audit:
{code:java}
(pushd fe && mvn dependency:tree -Dverbose -Dincludes=org.eclipse.jetty)
[INFO] ------------------------------------------------------------------------
[INFO] Building Apache Impala Query Engine Frontend 0.1-SNAPSHOT
[INFO] ------------------------------------------------------------------------
[INFO]
[INFO] --- maven-dependency-plugin:3.1.1:tree (default-cli) @ impala-frontend
---
[INFO] Verbose not supported since maven-dependency-plugin 3.0
[INFO] org.apache.impala:impala-frontend:jar:0.1-SNAPSHOT
[INFO] +- org.apache.ranger:ranger-plugins-audit:jar:2.1.0.7.1.6.0-170:compile
[INFO] | \- org.eclipse.jetty:jetty-client:jar:9.4.31.v20200723:compile
[INFO] | +- org.eclipse.jetty:jetty-http:jar:9.4.31.v20200723:compile
[INFO] | \- org.eclipse.jetty:jetty-io:jar:9.4.31.v20200723:compile
[INFO] \- org.apache.impala:yarn-extras:jar:0.1-SNAPSHOT:compile
[INFO] \- org.apache.hadoop:hadoop-yarn-common:jar:3.1.1.7.1.6.0-170:compile
[INFO] \- org.eclipse.jetty:jetty-util:jar:9.4.31.v20200723:compile
{code}
--
This message was sent by Atlassian Jira
(v8.3.4#803005)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]