Skip to content

Commit e36060e

Browse files
(improvement)(headless) Exclude some dependency in hadoop-hdfs to avoid start failed (#753)
Co-authored-by: jolunoluo
1 parent 3893e89 commit e36060e

File tree

1 file changed

+22
-0
lines changed

1 file changed

+22
-0
lines changed

headless/core/pom.xml

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -111,6 +111,28 @@
111111
<groupId>org.apache.hadoop</groupId>
112112
<artifactId>hadoop-hdfs</artifactId>
113113
<version>${hadoop.version}</version>
114+
<exclusions>
115+
<exclusion>
116+
<groupId>org.slf4j</groupId>
117+
<artifactId>slf4j-log4j12</artifactId>
118+
</exclusion>
119+
<exclusion>
120+
<groupId>log4j</groupId>
121+
<artifactId>log4j</artifactId>
122+
</exclusion>
123+
<exclusion>
124+
<groupId>org.apache.zookeeper</groupId>
125+
<artifactId>zookeeper</artifactId>
126+
</exclusion>
127+
<exclusion>
128+
<groupId>org.apache.curator</groupId>
129+
<artifactId>*</artifactId>
130+
</exclusion>
131+
<exclusion>
132+
<groupId>javax.servlet</groupId>
133+
<artifactId>servlet-api</artifactId>
134+
</exclusion>
135+
</exclusions>
114136
</dependency>
115137
<dependency>
116138
<groupId>org.apache.commons</groupId>

0 commit comments

Comments
 (0)