Support Questions

Find answers, ask questions, and share your expertise
Announcements
Check out our newest addition to the community, the Cloudera Data Analytics (CDA) group hub.

validationLevel error in the Stream simulator

New Contributor

When I am executing the trucking IOT sample provided in the following link (https://docs.hortonworks.com/HDPDocuments/HDF3/HDF-3.0.1.1/bk_getting-started-with-stream-analytics/content/ch_deploy-application.html), I am getting the following error:

com.fasterxml.jackson.databind.exc.UnrecognizedPropertyException: Unrecognized field "validationLevel" (class com.hortonworks.registries.schemaregistry.SchemaMetadata), not marked as ignorable (6 known properties: "compatibility", "type", "name", "description", "evolve", "schemaGroup"])
 at [Source: {"schemaMetadata":{"type":"avro","schemaGroup":"truck-sensors-kafka","name":"raw-truck_speed_events_avro","description":"Raw Speed Events from trucks in Kafka Topic","compatibility":"BACKWARD","validationLevel":"ALL","evolve":true},"id":2,"timestamp":1508518760257}; line: 1, column: 213] (through reference chain: com.hortonworks.registries.schemaregistry.SchemaMetadataInfo["schemaMetadata"]->com.hortonworks.registries.schemaregistry.SchemaMetadata["validationLevel"])

I installed HDF 3.0.1.1 that contains the schema registry version 0.3. Its code in Github already has the field validationlevel but the build's simulator has an older version that causes the error.

1 REPLY 1

New Contributor

Hi, I am still getting the same error with HDF 3.0.2

Take a Tour of the Community
Don't have an account?
Your experience may be limited. Sign in to explore more.