Skip to content

[Bug report] spark connector display no slf4j providers were found somtimes #7287

@flaming-archer

Description

@flaming-archer

Version

0.8.0 branch

Describe what's wrong

Sometimes spark-sql display: Image
Sometimes ok.

We found this is occured when spark-connector-xxx.jar was loaded before slf4j.jar which already in ${spark_home}/jars.

The spark-connector-xxx.jar containes slf4j class which is 2.* versrion, and spark sl4j.jar is 1.x. The two versions are not compatible. We should not package slf4j in spark-connector-xxx.jar.

Error message and/or stacktrace

No SLF4J providers were found.

How to reproduce

Continuously restarting Spark SQL. Occasionally, there will be one or two occurrences.

Additional context

No response

Metadata

Metadata

Labels

0.9.1Release v0.9.11.0.0Release v1.0.0bugSomething isn't working

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions