Re: Json.ObjectWriter - "Not the Json schema"

2016-02-24 Thread Prajwal Tuladhar
Can you paste your avro IDL schema? On Wed, Feb 24, 2016 at 7:46 AM, tl wrote: > Hi again, > > I still haven’t found a solution to this problem. Does this look like some > beginners Java mistake (because that may well be…)? Is it okay to ask the > same question on stackoverflow or

Re: Avro schema doesn't honor backward compatibilty

2016-02-01 Thread Prajwal Tuladhar
Hi, I think your usage of default for field "agentType" is invalid here. When generating code from invalid schema, it tends to fail: [INFO] > [INFO] --- avro-maven-plugin:1.7.6-cdh5.4.4:schema (default) @ test-app --- > [WARNING] Avro: Invalid default for field agentType: "APP_AGENT" not a >