Skip to content

Commit 2d770e4

Browse files
authored
HADOOP-18192. Fix multiple_bindings warning about slf4j-reload4j. (#4136)
1 parent 6b24b85 commit 2d770e4

File tree

7 files changed

+7
-7
lines changed

7 files changed

+7
-7
lines changed

hadoop-assemblies/src/main/resources/assemblies/hadoop-hdfs-nfs-dist.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@
4040
<exclude>org.apache.hadoop:hadoop-hdfs</exclude>
4141
<!-- use slf4j from common to avoid multiple binding warnings -->
4242
<exclude>org.slf4j:slf4j-api</exclude>
43-
<exclude>org.slf4j:slf4j-log4j12</exclude>
43+
<exclude>org.slf4j:slf4j-reload4j</exclude>
4444
<exclude>org.hsqldb:hsqldb</exclude>
4545
</excludes>
4646
</dependencySet>

hadoop-assemblies/src/main/resources/assemblies/hadoop-httpfs-dist.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@
6969
<exclude>org.apache.hadoop:hadoop-hdfs</exclude>
7070
<!-- use slf4j from common to avoid multiple binding warnings -->
7171
<exclude>org.slf4j:slf4j-api</exclude>
72-
<exclude>org.slf4j:slf4j-log4j12</exclude>
72+
<exclude>org.slf4j:slf4j-reload4j</exclude>
7373
<exclude>org.hsqldb:hsqldb</exclude>
7474
</excludes>
7575
</dependencySet>

hadoop-assemblies/src/main/resources/assemblies/hadoop-kms-dist.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@
6969
<exclude>org.apache.hadoop:hadoop-hdfs</exclude>
7070
<!-- use slf4j from common to avoid multiple binding warnings -->
7171
<exclude>org.slf4j:slf4j-api</exclude>
72-
<exclude>org.slf4j:slf4j-log4j12</exclude>
72+
<exclude>org.slf4j:slf4j-reload4j</exclude>
7373
<exclude>org.hsqldb:hsqldb</exclude>
7474
</excludes>
7575
</dependencySet>

hadoop-assemblies/src/main/resources/assemblies/hadoop-mapreduce-dist.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -179,7 +179,7 @@
179179
<exclude>org.apache.hadoop:hadoop-hdfs</exclude>
180180
<!-- use slf4j from common to avoid multiple binding warnings -->
181181
<exclude>org.slf4j:slf4j-api</exclude>
182-
<exclude>org.slf4j:slf4j-log4j12</exclude>
182+
<exclude>org.slf4j:slf4j-reload4j</exclude>
183183
<exclude>org.hsqldb:hsqldb</exclude>
184184
<exclude>jdiff:jdiff:jar</exclude>
185185
</excludes>

hadoop-assemblies/src/main/resources/assemblies/hadoop-nfs-dist.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@
4040
<exclude>org.apache.hadoop:hadoop-hdfs</exclude>
4141
<!-- use slf4j from common to avoid multiple binding warnings -->
4242
<exclude>org.slf4j:slf4j-api</exclude>
43-
<exclude>org.slf4j:slf4j-log4j12</exclude>
43+
<exclude>org.slf4j:slf4j-reload4j</exclude>
4444
<exclude>org.hsqldb:hsqldb</exclude>
4545
</excludes>
4646
</dependencySet>

hadoop-assemblies/src/main/resources/assemblies/hadoop-tools.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -214,7 +214,7 @@
214214
<exclude>org.apache.hadoop:hadoop-pipes</exclude>
215215
<!-- use slf4j from common to avoid multiple binding warnings -->
216216
<exclude>org.slf4j:slf4j-api</exclude>
217-
<exclude>org.slf4j:slf4j-log4j12</exclude>
217+
<exclude>org.slf4j:slf4j-reload4j</exclude>
218218
</excludes>
219219
</dependencySet>
220220
</dependencySets>

hadoop-assemblies/src/main/resources/assemblies/hadoop-yarn-dist.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -289,7 +289,7 @@
289289
<exclude>org.apache.hadoop:*</exclude>
290290
<!-- use slf4j from common to avoid multiple binding warnings -->
291291
<exclude>org.slf4j:slf4j-api</exclude>
292-
<exclude>org.slf4j:slf4j-log4j12</exclude>
292+
<exclude>org.slf4j:slf4j-reload4j</exclude>
293293
<exclude>org.hsqldb:hsqldb</exclude>
294294
</excludes>
295295
</dependencySet>

0 commit comments

Comments
 (0)