Cassandra Sink Connector - Exception in thread "main" java.lang.InstantiationError: com.typesafe.scalalogging.Logger
See original GitHub issueHi,
I downloaded Cassandra Sink Connector from: https://docs.lenses.io/connectors/sink/cassandra.html
And added to Kafka “libs/” folder, and then when i try to launch the kafka server:
./kafka-server-start.sh ../config/server.properties
I am getting this error message:
Exception in thread "main" java.lang.InstantiationError: com.typesafe.scalalogging.Logger
at com.typesafe.scalalogging.Logger$.apply(Logger.scala:48)
at kafka.utils.Log4jControllerRegistration$.<init>(Logging.scala:25)
at kafka.utils.Log4jControllerRegistration$.<clinit>(Logging.scala)
at kafka.utils.Logging.$init$(Logging.scala:47)
at kafka.Kafka$.<init>(Kafka.scala:30)
at kafka.Kafka$.<clinit>(Kafka.scala)
at kafka.Kafka.main(Kafka.scala)
Is there a way to solve this error please ?
Thanks
Issue Analytics
- State:
- Created 4 years ago
- Reactions:1
- Comments:6
Top Results From Across the Web
KAFKA Cassandra Source connect - Stack Overflow
Exception in thread “main” java.lang.InstantiationError: com.typesafe.scalalogging.Logger at com.typesafe.scalalogging.
Read more >kafka-connect-cassandra - Scaladex
Kafka Connect Cassandra Connector. This project includes source & sink connectors. Release Status. Experimental phase. Table of Contents.
Read more >Re: spark-submit results in NoClassDefFoundError
This email appears to be a reply to another email, as it contains an in-reply-to reference. If you wish to attempt finding the...
Read more >com.typesafe.scala-logging : scala-logging_2.12 : 3.9.4
[![Maven Central](https://img.shields.io/maven-central/v/com.typesafe.scala-logging/scala-logging_2.12.svg?label=Maven%20Central)](https://search.maven.org/ ...
Read more >com.typesafe.scala-logging - Maven Repository
Scala Logging 1,581 usages. com.typesafe.scala-logging » scala-loggingApache. scala-logging. Last Release on May 21, 2022.
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
I will re-share with you the docs for installing the connection (It has nothing to do with vanilla kafka or not): https://docs.lenses.io/connectors/sink/cassandra.html#installing-the-connector
The docs tell you where to copy the jar and they give you the example of running Connect in distributed mode. To configure the worker it points to
etc/schema-registry/connect-avro-distributed.properties
. Kafka connect standlone needs a configuration file as well, which I assume you already pass because otherwise it just does not start. Here is the docs for running Connect with the Cassandra Sink enabled:Also, maybe you missed my earlier message, but let me repeat it again:
Use the plugins/lib or any other folder on your machine. The set the
plugin.path
in your Kafka connect standalone properties file.@stheppi You hadn’t to bother yourself to past again the same messages.
It seem that there misunderstanding related to my question but it doesn’t matter, I just found about another customizable option …
Thanks for your time.