Known Issues in Schema Registry
Learn about the known issues in Schema Registry, the impact or changes to the functionality, and the workaround.
- CDPD-54379: KafkaJsonSerializer and KafkaJsonDeserializer do not allow null values
- KafkaJsonSerializer and KafkaJsonDeserializer do not allow the data to be null, resulting in a NullPointerException (NPE).
- CDPD-49217 and CDPD-50309: Schema Registry caches user group membership indefinitely
-
Schema Registry caches the Kerberos user and group information indefinitely and does not catch up on group membership changes.
- CDPD-56890: New schemas cannot be created following an upgrade
- If you delete the latest version of a schema (the one with the highest ID) from the Schema Registry database before an upgrade, you might not be able to create new schemas after you upgrade the cluster to a newer version.
- CDPD-58265: Schema Registry Client incorrectly applies SSL configuration
- The Cloudera distributed Schema Registry Java client might fail to apply the SSL configurations correctly with concurrent access in Jersey clients due to a Jersey issue related to JDK.
- CDPD-48822: AvroConverter ignores default values when converting from Avro to Connect schema
- AvroConverter does not propagate field default values when converting Avro schemas to Connect schemas.
- CDPD-55381: Schema Registry issues authentication cookie for the authorized user, not for the authenticated one
- When the authenticated user is different from the authorized user, which can happen when Schema Registry is used behind Knox, authorization issues can occur for subsequent requests as the authentication cookie in Schema Registry stores the authorized user.
- CDPD-60160: Schema Registry Atlas integration does not work with Oracle databases
-
Schema Registry is unable to create entities in Atlas if Schema Registry uses an Oracle database. The following will be present in the Schema Registry log if you are affected by this issue:
ERROR com.cloudera.dim.atlas.events.AtlasEventsProcessor: An error occurred while processing Atlas events. java.lang.IllegalArgumentException: Cannot invoke com.hortonworks.registries.schemaregistry.AtlasEventStorable.setType on bean class 'class com.hortonworks.registries.schemaregistry.AtlasEventStorable' - argument type mismatch - had objects of type "java.lang.Long" but expected signature "java.lang.Integer"
This issue causes the loss of audit data on Oracle environments.
- CDPD-48853: Schemas created with the Confluent Schema Registry API cannot be viewed in the UI
- Schemas created in Cloudera Schema Registry using the Confluent
Schema Registry API are not visible in the Cloudera Schema Registry UI.
In addition, the /api/v1/schemaregistry/search/schemas/aggregated endpoint of the Cloudera Schema Registry API does not return schemas created with the Confluent Schema Registry API.
A typical case where this issue can manifest is when you are using the Confluent Avro converter for SerDes in a Kafka Connect connector and the connector connects to Cloudera Schema Registry. That is, the
key.converter
and/orvalue.converter
properties of the connector are set to io.confluent.connect.avro.AvroConverter, andkey.converter.schema.registry.url
and/orvalue.converter.schema.registry.url
are set to a Cloudera Schema Registry server URL. - CDPD-58949: Schemas are de-duplicated on import
- On import, Schema Registry de-duplicates schema versions based on their fingerprints. This means that schemas which are considered functionally equivalent in SR get de-duplicated. As a result, some schema versions are not created, and their IDs do not become valid IDs in SR.
- CDPD-58990: getSortedSchemaVersions method orders by schemaVersionId instead of version number
- On validation, Schema Registry orders schema versions based on ID
instead of version number. In some situations, this can cause validation with the
LATEST
level to compare the new schema version to a non-latest version.This situation can occur when an older version of a schema has a higher ID than the newer version of a schema, for example, when the older version is imported with an explicit ID.