Known Issues in Schema Registry

Learn about the known issues in Schema Registry, the impact or changes to the functionality, and the workaround.

CDPD-48568: JAR storage does not work on AWS S3 for Schema Registry

If you are using AWS S3 to store the serializer and deserializer JAR files used by Schema Registry, the Schema Registry server might not be able reach these JAR files. As a result, message serialization and deserialization will not work with the affected schemas. If you are affected by this issue, class not found errors related to AWS library classes will be present in the Schema Registry server logs.

Ensure that the aws-java-sdk-bundle-[***VERSION***].jar file is available in /opt/cloudera/parcels/CDH/lib/schemaregistry/hadoop-plugin/hadoop-schema-registry-plugin-impl/. This is the location that contains all the JAR files for the Hadoop plugin classpath.
  1. Find the aws-java-sdk-bundle-[***VERSION***].jar file.
    The file is located in the folder that contains all common JAR files for parcels. You can find it using the following command:
    find /opt/cloudera/parcels/CDH/jars -iname '*aws-java-sdk-bundle*.jar
    The output of the command lists multiple versions. Take note of the latest version. For example:
  2. Create a symlink in /opt/cloudera/parcels/CDH/lib/schemaregistry/hadoop-plugin/hadoop-schema-registry-plugin-impl/ that points to the aws-java-sdk-bundle-[***VERSION***].jar. For example:
    ln -s /opt/cloudera/parcels/CDH/jars/aws-java-sdk-bundle-1.12.316.jar /opt/cloudera/parcels/CDH/lib/schemaregistry/hadoop-plugin/hadoop-schema-registry-plugin-impl/aws-java-sdk-bundle-1.12.316.jar
  3. Restart the Schema Registry service.