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.

Default Value Error by NIFI AvroReader

Highlighted

Default Value Error by NIFI AvroReader

New Contributor

@Bryan Bende I am getting the below exception for the schema :

{

"name ":"application ",

"type ":{

"type ":"record ",

"name ":"data ",

"fields ":[

{

"name ":"name ",

"type ":"string ",

"doc ":"Name of the application ",

"default ":" "

}

]

},

"doc ":"t information ",

"default ":{


}

}

java.lang.IllegalArgumentException: Cannot set the deafult value for field 'Application' to [{}] because this is not a valid value for Data Type [RECORD]. Any idea what is wrong?

1 REPLY 1

Re: Default Value Error by NIFI AvroReader

Community Manager

The above question was previously posted to the