org.apache.avro.SchemaParseException

There are no available Samebug tips for this exception. Do you have an idea how to solve this issue? A short tip would help users who saw this issue last week.

  • GitHub comment 394#237511980
    via GitHub by sanchitgrover
    ,
  • GitHub comment 69#128264026
    via GitHub by kellrott
    ,
  • Merge two avro schemas programatically
    via Stack Overflow by Guido García
    ,
  • GitHub comment 505#283913048
    via GitHub by rzats
    ,
    • 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) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)

    Users with the same issue

    Unknown visitor
    Unknown visitor1 times, last one,