Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error returned by Apicurio not compliant with Confluent Schema Registry Client in Databricks #1081

Closed
jelmew opened this issue Dec 10, 2020 · 6 comments
Assignees
Labels
mas type/bug Something isn't working

Comments

@jelmew
Copy link

jelmew commented Dec 10, 2020

Hi all,

We are trying to use Apicurio as a schema registry. Apicurio should be fully compliant with Confluent's API. However, we are trying to register a schema from Azure databricks. The confluent client in this case gets (for unknown reasons) an error returned. The error from apicurio contains the field "detail", crashing the schema registry client from confluent without us knowing what the possible cause is. Apicurio logging doesn't help either. How is this fixable/error showable?

Job aborted due to stage failure: Task 3 in stage 35.0 failed 1 times, most recent failure: Lost task 3.0 in stage 35.0 (TID 143, 10.139.64.4, executor driver): org.spark_project.confluent.kafka.schemaregistry.client.rest.exceptions.RestClientException: Unrecognized field "detail" (class org.spark_project.confluent.kafka.schemaregistry.client.rest.entities.ErrorMessage), not marked as ignorable (2 known properties: "error_code", "message"])
 at [Source: (sun.net.www.protocol.http.HttpURLConnection$HttpInputStream); line: 1, column: 222] (through reference chain: org.spark_project.confluent.kafka.schemaregistry.client.rest.entities.ErrorMessage["detail"]); error code: 50005
@EricWittmann EricWittmann added the type/bug Something isn't working label Dec 17, 2020
@EricWittmann
Copy link
Member

@carlesarnal Can you take a look at this? Apparently we are returning an error bean with an extra property on it, and Confluent's client can't handle that. :)

@jelmew what versions of everything are you using?

@carlesarnal
Copy link
Member

Hello @EricWittmann, @jelmew. This is supposed to be fixed in version 1.2.1.Final. @jelmew, could you please let us know what versions are you using so we can confirm if this is a bug in recent versions or not? Thanks

@jelmew
Copy link
Author

jelmew commented Jan 15, 2021

Bug is not in recent version, Thanksalot.

@jelmew jelmew closed this as completed Jan 15, 2021
@EricWittmann
Copy link
Member

Thanks for following up on this and closing it.

@EricWittmann
Copy link
Member

@carlesarnal Can you confirm that this is done?

@carlesarnal
Copy link
Member

@EricWittmann this was fixed here and released in version 1.2.1.Final.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
mas type/bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants