Open remeajayi2022 opened 1 day ago
It seems that this was a known issue (#11598) in v0.15.0 documented here with PR fixes(#11373, #11660 ) by @the-other-tim-brown that have been merged to master. I have tested with a JAR compiled from the Master branch and I'm still running into issues.
24/11/21 21:30:36 ERROR HoodieAsyncService: Service shutdown with error java.util.concurrent.ExecutionException: java.lang.AbstractMethodError: Receiver class io.confluent.kafka.schemaregistry.protobuf.ProtobufSchemaProvider does not define or inherit an implementation of the resolved method 'abstract java.util.Optional parseSchema(java.lang.String, java.util.List)' of interface io.confluent.kafka.schemaregistry.SchemaProvider. at java.base/java.util.concurrent.CompletableFuture.reportGet(CompletableFuture.java:395) ~[?:?] at java.base/java.util.concurrent.CompletableFuture.get(CompletableFuture.java:1999) ~[?:?]
Do you have any suggestions on how to move past this? Thank you. cc: @the-other-tim-brown
I’m trying to ingest from a ProtoKafka source using Hudi Streamer but encountering an issue.
The stack trace points to a misconfigured schema registry URL. However, the same URL works for Hudi streamer jobs ingesting from AvroKafka sources. When I ping the schema registry URL using curl, it correctly returns the schema.
Additional Context
AvroKafka
spark job.hoodie.streamer.schemaprovider.proto.class.name
andhoodie.streamer.source.kafka.proto.value.deserializer.class=org.apache.kafka.common.serialization.ByteArrayDeserializer
. I don't think these are required but their presence/absence did not resolve this error.Environment Details Hudi version: v0.15.0 Spark version: 3.1.3 Scala version: 2.12 Google Dataproc version: 2.0.125-debian10
Spark Submit Command and Protobuf Configuration
Steps to Reproduce
I’d appreciate any insights into resolving this issue. Is there an alternative or a workaround for configuring the Protobuf schema? Am I missing any configuration settings? Thank you for your help!