Skip to content

Commit 94e113a

Browse files
author
Ramesh Mani
committed
RANGER-5486: Exclude hadoop-client-api*.jar in ranger war file to avoid intermittent ranger startup failure in docker
1 parent 99e439c commit 94e113a

File tree

1 file changed

+8
-1
lines changed

1 file changed

+8
-1
lines changed

security-admin/pom.xml

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -529,6 +529,12 @@
529529
<groupId>org.apache.ranger</groupId>
530530
<artifactId>ranger-metrics</artifactId>
531531
<version>${project.version}</version>
532+
<exclusions>
533+
<exclusion>
534+
<groupId>org.apache.hadoop</groupId>
535+
<artifactId>hadoop-client-api</artifactId>
536+
</exclusion>
537+
</exclusions>
532538
</dependency>
533539
<dependency>
534540
<groupId>org.apache.ranger</groupId>
@@ -896,7 +902,8 @@
896902
<packagingExcludes>WEB-INF/lib/spring-*.SEC03.jar,
897903
WEB-INF/lib/spring-*.RC3.jar,
898904
WEB-INF/lib/spring-2.*.jar,
899-
WEB-INF/lib/jetty-*.jar</packagingExcludes>
905+
WEB-INF/lib/jetty-*.jar,
906+
WEB-INF/lib/hadoop-client-api-*.jar</packagingExcludes>
900907
<warSourceDirectory>${project.build.directory}/${project.build.finalName}</warSourceDirectory>
901908
</configuration>
902909
</execution>

0 commit comments

Comments
 (0)