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

Google Groups | Grigoriy Roghkov | 6 months ago
tip
Do you know that we can give you better hits? Get more relevant results from Samebug’s stack trace search.
  1. 0

    Kafka Connect (HDFS connector)

    Google Groups | 6 months ago | Grigoriy Roghkov
    java.lang.IllegalArgumentException: Avro schema must be a record.

    Root Cause Analysis

    1. java.lang.IllegalArgumentException

      Avro schema must be a record.

      at org.apache.parquet.avro.AvroSchemaConverter.convert()
    2. org.apache.parquet
      AvroParquetWriter.<init>
      1. org.apache.parquet.avro.AvroSchemaConverter.convert(AvroSchemaConverter.java:89)
      2. org.apache.parquet.avro.AvroParquetWriter.writeSupport(AvroParquetWriter.java:103)
      3. org.apache.parquet.avro.AvroParquetWriter.<init>(AvroParquetWriter.java:47)
      3 frames
    3. io.confluent.connect
      HdfsSinkTask.put
      1. io.confluent.connect.hdfs.parquet.ParquetRecordWriterProvider.getRecordWriter(ParquetRecordWriterProvider.java:51)
      2. io.confluent.connect.hdfs.TopicPartitionWriter.getWriter(TopicPartitionWriter.java:415)
      3. io.confluent.connect.hdfs.TopicPartitionWriter.writeRecord(TopicPartitionWriter.java:486)
      4. io.confluent.connect.hdfs.TopicPartitionWriter.write(TopicPartitionWriter.java:264)
      5. io.confluent.connect.hdfs.DataWriter.write(DataWriter.java:234)
      6. io.confluent.connect.hdfs.HdfsSinkTask.put(HdfsSinkTask.java:90)
      6 frames
    4. org.apache.kafka
      ShutdownableThread.run
      1. org.apache.kafka.connect.runtime.WorkerSinkTask.deliverMessages(WorkerSinkTask.java:280)
      2. org.apache.kafka.connect.runtime.WorkerSinkTask.poll(WorkerSinkTask.java:176)
      3. org.apache.kafka.connect.runtime.WorkerSinkTaskThread.iteration(WorkerSinkTaskThread.java:90)
      4. org.apache.kafka.connect.runtime.WorkerSinkTaskThread.execute(WorkerSinkTaskThread.java:58)
      5. org.apache.kafka.connect.util.ShutdownableThread.run(ShutdownableThread.java:82)
      5 frames