Member since
10-23-2017
1
Post
0
Kudos Received
0
Solutions
10-24-2017
12:28 PM
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.
... View more
Labels:
- Labels:
-
Cloudera DataFlow (CDF)