You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When I try to call dataset. Write(), output the data to pulsar, and throw the error that failed to create the schema
Environment:
Pulsar-2.4.1
Spark-2.4.4
java.lang.RuntimeException: Failed to create schema for persistent://public/default/als_statistics_tocheck
at org.apache.spark.sql.pulsar.SchemaUtils$.uploadPulsarSchema(SchemaUtils.scala:104)
at org.apache.spark.sql.pulsar.PulsarRowWriter.singleProducer$lzycompute(PulsarWriteTask.scala:140)
at org.apache.spark.sql.pulsar.PulsarRowWriter.singleProducer(PulsarWriteTask.scala:138)
at org.apache.spark.sql.pulsar.PulsarRowWriter.producerFlush(PulsarWriteTask.scala:210)
In addition,how can support options "avroSchema,recordName,recordNamespace"
The name of the schema has always been named "topLevelRecord".Except : com.some.domain.
syhily
changed the title
[BUG]java.lang.RuntimeException: Failed to create schema for topic
[BUG] java.lang.RuntimeException: Failed to create schema for topic
Dec 6, 2022
SchemaUtils$.uploadPulsarSchema(SchemaUtils.scala:104) indicate that you should have admin privilege on the topic. This should be the root cause for this exception. So I don't think this is a bug.
When I try to call dataset. Write(), output the data to pulsar, and throw the error that failed to create the schema
Environment:
Pulsar-2.4.1
Spark-2.4.4
In addition,how can support options "avroSchema,recordName,recordNamespace"
The name of the schema has always been named "topLevelRecord".Except : com.some.domain.
The text was updated successfully, but these errors were encountered: