You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@calcite.apache.org by se...@apache.org on 2019/01/25 20:55:33 UTC
[calcite] branch master updated: Fix sqlline by removing redundant
slf4j dependency (log4j-over-slf4j) from cassandra-all
This is an automated email from the ASF dual-hosted git repository.
sereda pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/calcite.git
The following commit(s) were added to refs/heads/master by this push:
new b43a314 Fix sqlline by removing redundant slf4j dependency (log4j-over-slf4j) from cassandra-all
b43a314 is described below
commit b43a314b60f42d1e58febc39c04cbbbefc3503e1
Author: Andrei Sereda <25...@users.noreply.github.com>
AuthorDate: Fri Jan 25 15:27:50 2019 -0500
Fix sqlline by removing redundant slf4j dependency (log4j-over-slf4j) from cassandra-all
SLF4J initialization was failing due to `NoClassDefFoundError`.
---
cassandra/pom.xml | 9 +++++++++
1 file changed, 9 insertions(+)
diff --git a/cassandra/pom.xml b/cassandra/pom.xml
index 6842ee9..19a8745 100644
--- a/cassandra/pom.xml
+++ b/cassandra/pom.xml
@@ -78,6 +78,15 @@ limitations under the License.
<groupId>org.apache.cassandra</groupId>
<artifactId>cassandra-all</artifactId>
<scope>test</scope>
+ <exclusions>
+ <!-- log4j is already present in the classpath.
+ sqlline can't initialize due to NoClassDefFoundError. See CALCITE-2734
+ -->
+ <exclusion>
+ <groupId>org.slf4j</groupId>
+ <artifactId>log4j-over-slf4j</artifactId>
+ </exclusion>
+ </exclusions>
</dependency>
<dependency>
<groupId>org.slf4j</groupId>