Skip to content

Commit c5d2926

Browse files
committed
[KYUUBI #3037] Handles configuring the JUL -> SLF4J bridge
### _Why are the changes needed?_ Handles configuring the JUL -> SLF4J bridge, otherwise, the components which use JUL like Jersey will be not controlled by log4j2 configurations ### _How was this patch tested?_ - [ ] Add some test cases that check the changes thoroughly including negative and positive cases if possible - [ ] Add screenshots for manual tests if appropriate - [x] [Run test](https://kyuubi.apache.org/docs/latest/develop_tools/testing.html#running-tests) locally before make a pull request Closes #3037 from pan3793/jul. Closes #3037 fda05ff [Cheng Pan] update license 31f579f [Cheng Pan] nit 7da0f9f [Cheng Pan] Fix dependencyList 3179e6b [Cheng Pan] Handles configuring the JUL -> SLF4J bridge Authored-by: Cheng Pan <chengpan@apache.org> Signed-off-by: Cheng Pan <chengpan@apache.org>
1 parent d344667 commit c5d2926

File tree

21 files changed

+12
-109
lines changed

21 files changed

+12
-109
lines changed

LICENSE-binary

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -327,6 +327,7 @@ com.github.scopt:scopt_*
327327
io.github.classgraph:classgraph
328328
org.slf4j:slf4j-api
329329
org.slf4j:jcl-over-slf4j
330+
org.slf4j:jul-over-slf4j
330331

331332
kyuubi-server/src/main/resources/org/apache/kyuubi/ui/static/assets/fonts/*
332333
kyuubi-server/src/main/resources/org/apache/kyuubi/ui/static/icon.min.css

dev/dependencyList

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -80,6 +80,7 @@ jetty-servlet/9.4.48.v20220622//jetty-servlet-9.4.48.v20220622.jar
8080
jetty-util-ajax/9.4.48.v20220622//jetty-util-ajax-9.4.48.v20220622.jar
8181
jetty-util/9.4.48.v20220622//jetty-util-9.4.48.v20220622.jar
8282
jline/0.9.94//jline-0.9.94.jar
83+
jul-to-slf4j/1.7.35//jul-to-slf4j-1.7.35.jar
8384
kubernetes-client/5.12.1//kubernetes-client-5.12.1.jar
8485
kubernetes-model-admissionregistration/5.12.1//kubernetes-model-admissionregistration-5.12.1.jar
8586
kubernetes-model-apiextensions/5.12.1//kubernetes-model-apiextensions-5.12.1.jar

extensions/spark/kyuubi-spark-authz/pom.xml

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -252,12 +252,6 @@
252252
<!-- for hive related test only -->
253253
</dependency>
254254

255-
<dependency>
256-
<groupId>org.slf4j</groupId>
257-
<artifactId>jul-to-slf4j</artifactId>
258-
<scope>test</scope>
259-
</dependency>
260-
261255
<dependency>
262256
<groupId>org.apache.logging.log4j</groupId>
263257
<artifactId>log4j-slf4j-impl</artifactId>

externals/kyuubi-flink-sql-engine/pom.xml

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -128,13 +128,6 @@
128128
<version>${project.version}</version>
129129
<scope>test</scope>
130130
</dependency>
131-
132-
<dependency>
133-
<groupId>org.slf4j</groupId>
134-
<artifactId>jul-to-slf4j</artifactId>
135-
<scope>test</scope>
136-
</dependency>
137-
138131
<dependency>
139132
<groupId>org.apache.flink</groupId>
140133
<artifactId>flink-test-utils${flink.module.scala.suffix}</artifactId>

externals/kyuubi-hive-sql-engine/pom.xml

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -165,12 +165,6 @@
165165
<artifactId>HikariCP</artifactId>
166166
<scope>test</scope>
167167
</dependency>
168-
169-
<dependency>
170-
<groupId>org.slf4j</groupId>
171-
<artifactId>jul-to-slf4j</artifactId>
172-
<scope>test</scope>
173-
</dependency>
174168
</dependencies>
175169

176170
<build>

externals/kyuubi-jdbc-engine/pom.xml

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -59,12 +59,6 @@
5959
<scope>test</scope>
6060
</dependency>
6161

62-
<dependency>
63-
<groupId>org.slf4j</groupId>
64-
<artifactId>jul-to-slf4j</artifactId>
65-
<scope>test</scope>
66-
</dependency>
67-
6862
<dependency>
6963
<groupId>com.dimafeng</groupId>
7064
<artifactId>testcontainers-scala-scalatest_${scala.binary.version}</artifactId>

externals/kyuubi-spark-sql-engine/pom.xml

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -125,12 +125,6 @@
125125
<scope>test</scope>
126126
</dependency>
127127

128-
<dependency>
129-
<groupId>org.slf4j</groupId>
130-
<artifactId>jul-to-slf4j</artifactId>
131-
<scope>test</scope>
132-
</dependency>
133-
134128
<dependency>
135129
<groupId>org.apache.iceberg</groupId>
136130
<artifactId>${iceberg.name}</artifactId>

externals/kyuubi-trino-engine/pom.xml

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -71,12 +71,6 @@
7171
<scope>test</scope>
7272
</dependency>
7373

74-
<dependency>
75-
<groupId>org.slf4j</groupId>
76-
<artifactId>jul-to-slf4j</artifactId>
77-
<scope>test</scope>
78-
</dependency>
79-
8074
<dependency>
8175
<groupId>com.dimafeng</groupId>
8276
<artifactId>testcontainers-scala-scalatest_${scala.binary.version}</artifactId>

integration-tests/kyuubi-flink-it/pom.xml

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -81,12 +81,6 @@
8181
<scope>test</scope>
8282
</dependency>
8383

84-
<dependency>
85-
<groupId>org.slf4j</groupId>
86-
<artifactId>jul-to-slf4j</artifactId>
87-
<scope>test</scope>
88-
</dependency>
89-
9084
</dependencies>
9185

9286
</project>

integration-tests/kyuubi-hive-it/pom.xml

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -62,12 +62,6 @@
6262
<scope>test</scope>
6363
</dependency>
6464

65-
<dependency>
66-
<groupId>org.slf4j</groupId>
67-
<artifactId>jul-to-slf4j</artifactId>
68-
<scope>test</scope>
69-
</dependency>
70-
7165
<!-- hive -->
7266
<dependency>
7367
<groupId>org.apache.kyuubi</groupId>

0 commit comments

Comments
 (0)