org.apache.avro.SchemaParseException: Can't redefine: io.confluent.connect.avro.Union

Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Solutions on the web

via GitHub by sanchitgrover
, 1 year ago
Can't redefine: io.confluent.connect.avro.Union
via Stack Overflow by Guido García
, 1 year ago
Can't redefine: merged schema (generated by AvroStorage).merged
via GitHub by mnarrell
, 3 months ago
Can't redefine: <a common record between the two>
via GitHub by kellrott
, 1 year ago
Can't redefine: SubworkflowFeatureRequirement
via GitHub by rzats
, 7 months ago
Can't redefine: com.snowplowanalytics.sauna.responders.SendgridConfig
org.apache.avro.SchemaParseException: Can't redefine: io.confluent.connect.avro.Union
at org.apache.avro.Schema$Names.put(Schema.java:1060)
at org.apache.avro.Schema$NamedSchema.writeNameRef(Schema.java:509)
at org.apache.avro.Schema$RecordSchema.toJson(Schema.java:629)
at org.apache.avro.Schema$RecordSchema.fieldsToJson(Schema.java:651)
at org.apache.avro.Schema$RecordSchema.toJson(Schema.java:638)
at org.apache.avro.Schema.toString(Schema.java:297)
at org.apache.avro.Schema.toString(Schema.java:287)
at org.apache.avro.file.DataFileWriter.create(DataFileWriter.java:138)
at io.confluent.connect.hdfs.avro.AvroRecordWriterProvider.getRecordWriter(AvroRecordWriterProvider.java:57)
at io.confluent.connect.hdfs.TopicPartitionWriter.getWriter(TopicPartitionWriter.java:437)
at io.confluent.connect.hdfs.TopicPartitionWriter.writeRecord(TopicPartitionWriter.java:508)
at io.confluent.connect.hdfs.TopicPartitionWriter.write(TopicPartitionWriter.java:289)
at io.confluent.connect.hdfs.DataWriter.write(DataWriter.java:234)
at io.confluent.connect.hdfs.HdfsSinkTask.put(HdfsSinkTask.java:103)
at org.apache.kafka.connect.runtime.WorkerSinkTask.deliverMessages(WorkerSinkTask.java:384)
at org.apache.kafka.connect.runtime.WorkerSinkTask.poll(WorkerSinkTask.java:228)
at org.apache.kafka.connect.runtime.WorkerSinkTask.iteration(WorkerSinkTask.java:171)
at org.apache.kafka.connect.runtime.WorkerSinkTask.execute(WorkerSinkTask.java:143)
at org.apache.kafka.connect.runtime.WorkerTask.doRun(WorkerTask.java:140)
at org.apache.kafka.connect.runtime.WorkerTask.run(WorkerTask.java:175)
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
at java.util.concurrent.FutureTask.run(FutureTask.java:266)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)

Users with the same issue

Samebug visitor profile picture
Unknown user
Once, 1 year ago

Know the solutions? Share your knowledge to help other developers to debug faster.