java.lang.IllegalArgumentException: Avro schema must be a record.

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 Google Groups by Grigoriy Roghkov, 1 year ago
Avro schema must be a record.
java.lang.IllegalArgumentException: Avro schema must be a record.
at org.apache.parquet.avro.AvroSchemaConverter.convert(
at org.apache.parquet.avro.AvroParquetWriter.writeSupport(
at org.apache.parquet.avro.AvroParquetWriter.(
at io.confluent.connect.hdfs.parquet.ParquetRecordWriterProvider.getRecordWriter(
at io.confluent.connect.hdfs.TopicPartitionWriter.getWriter(
at io.confluent.connect.hdfs.TopicPartitionWriter.writeRecord(
at io.confluent.connect.hdfs.TopicPartitionWriter.write(
at io.confluent.connect.hdfs.DataWriter.write(
at io.confluent.connect.hdfs.HdfsSinkTask.put(
at org.apache.kafka.connect.runtime.WorkerSinkTask.deliverMessages(
at org.apache.kafka.connect.runtime.WorkerSinkTask.poll(
at org.apache.kafka.connect.runtime.WorkerSinkTaskThread.iteration(
at org.apache.kafka.connect.runtime.WorkerSinkTaskThread.execute(

Users with the same issue

You are the first who have seen this exception.

Write tip

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