This is an automated email from the ASF dual-hosted git repository. stigahuang pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/impala.git
commit 5e0cafd440752c2dbbe6813db5d62cbbd513033b Author: Fang-Yu Rao <[email protected]> AuthorDate: Fri Sep 30 11:09:23 2022 -0700 IMPALA-11632: Exclude log4j-1.2-api in some Ranger artifacts After RANGER-3498, Ranger's ranger-plugins-audit, ranger-plugins-common start pulling in log4j-1.2-api, which is currently banned by Impala's frontend. To be able to compile Impala after RANGER-3498, this patch excludes log4j-1.2-api when adding those Ranger dependencies mentioned above. Change-Id: I72bf989a4fa04b23daf9093df8764670cc5e974d Reviewed-on: http://gerrit.cloudera.org:8080/19085 Reviewed-by: Joe McDonnell <[email protected]> Tested-by: Impala Public Jenkins <[email protected]> --- fe/pom.xml | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/fe/pom.xml b/fe/pom.xml index f0dc1c603..053a84f86 100644 --- a/fe/pom.xml +++ b/fe/pom.xml @@ -126,6 +126,13 @@ under the License. <groupId>org.apache.ranger</groupId> <artifactId>ranger-plugins-audit</artifactId> </exclusion> + <!-- After RANGER-3498, Ranger's ranger-plugins-common starts pulling in + log4j-1.2-api, which is banned by Impala's frontend. Thus we exclude the + dependency here.--> + <exclusion> + <groupId>org.apache.logging.log4j</groupId> + <artifactId>log4j-1.2-api</artifactId> + </exclusion> </exclusions> </dependency> @@ -141,6 +148,13 @@ under the License. <groupId>org.apache.kafka</groupId> <artifactId>*</artifactId> </exclusion> + <!-- After RANGER-3498, Ranger's ranger-plugins-audit starts pulling in + log4j-1.2-api, which is banned by Impala's frontend. Thus we exclude the + dependency here.--> + <exclusion> + <groupId>org.apache.logging.log4j</groupId> + <artifactId>log4j-1.2-api</artifactId> + </exclusion> <exclusion> <groupId>org.apache.shiro</groupId> <artifactId>shiro-core</artifactId>
