Support Questions
Find answers, ask questions, and share your expertise
Announcements
Alert: Welcome to the Unified Cloudera Community. Former HCC members be sure to read and learn how to activate your account here.

Configuring JSON TreeReader for accessing HW Schema Registry

Highlighted

Configuring JSON TreeReader for accessing HW Schema Registry

New Contributor

Hi all,


i'm using a simple key lookup service to lookup a schema name and save that as an attribute. Later I want to convert JSON to AVRO using HW shema rehgistry but I'm getting the error: Could not retrieve schema with name "ValueSchemaName" from the configured Schema Registry.


JSON Tree reader and AvroRecordSetWriter are using :

Schema Access Strategy: Use 'Schema Name' and are pointed to HW Schema Registry.

Json Tree Reader:

109798-1562575802499.png


Avro Record Set Writer:

109799-1562575829736.png

Am I configuring the schema access wrongly?



Also, where can I get the correct URL for configuring the HWSchemaRegistry controller service? Is it the same link that I see in the Schema Registry UI?


Thanks,

Rosa

2 REPLIES 2

Re: Configuring JSON TreeReader for accessing HW Schema Registry

Can you share the configuration of your HortonworksSchemaRegistry controller service?

Re: Configuring JSON TreeReader for accessing HW Schema Registry

New Contributor

@Matt Burgess there it is. Nothing much to it. This is the same link (minus the api/v1) that I'm using to access the HW Schema UI109813-1562671949682.png

Don't have an account?
Coming from Hortonworks? Activate your account here