Closed DFMichelangelo closed 2 weeks ago
Try to add dependency:
<dependency>
<groupId>org.lz4</groupId>
<artifactId>lz4-java</artifactId>
<version>${lz4.version}</version>
</dependency>
Try to add dependency:
<dependency> <groupId>org.lz4</groupId> <artifactId>lz4-java</artifactId> <version>${lz4.version}</version> </dependency>
Thank you @surovenko, it's actually what I've done recently, but I deem that the testcontainrer should include lz4-java
as a dependency.
I also needed to add
implementation 'org.apache.httpcomponents.client5:httpclient5:5.3.1'
to make it work.
Module
Clickhouse
Testcontainers version
1.19.8
Using the latest Testcontainers version?
Yes
Host OS
Windows 10 with WSL
Host Arch
amd64
Docker version
What happened?
Hi all, I've tried to start the most simple Clickhouse test container using the basic setup with clickhouse version 24.5 (the most recent one). Somehow a
SQLException
is thrown once the container starts claiming that LZ4 is not supported.I would expect to have the container working "out of the box" when the most basic setup configuration is used.
Relevant log output
Additional Information
you can reproduce the error by looking at the repository TestingContainers
The issue is not related to LZ4 compression of clickhouse container but to the use of the log4j logger combined with clickhouse