Re: Facing issue while using avro-maven-plugin

2014-02-06 Thread AnilKumar B
Thanks Taton & Doug. Just now, It got resolved. When I remove pig dependency from my pom, it's stopped giving below exception. Error: The method deepCopy(Schema, List>) is undefined for the type GenericData Thanks & Regards, B Anil Kumar. On Wed, Feb 5, 2014 at 11:48 PM, Doug Cutting wrote: >

Re: Facing issue while using avro-maven-plugin

2014-02-05 Thread Doug Cutting
The problem with deepCopy may be a mismatch between the version of Avro you're using at compile time and the version you're using at runtime. When exactly are you getting this error? Doug On Wed, Feb 5, 2014 at 9:32 AM, Christophe Taton wrote: > Hi, > > I do not know about 1), but 2) is current

Re: Facing issue while using avro-maven-plugin

2014-02-05 Thread Christophe Taton
Hi, I do not know about 1), but 2) is currently expected : record fields are public by default but tagged as deprecated - you can solve this by explicitly asking for private fields in the Maven plugin configuration: org.apache.avro avro-maven-plugin privat

Facing issue while using avro-maven-plugin

2014-02-05 Thread AnilKumar B
Hi, I have created below .avsc schema file and I tried creating corresponding classes by using avro tool and with plugin, but there are few errors on generated java code. What could be the issue? {"namespace": "test.avro", "type": "record", "name": "Session", "fields": [ {"name":"VisitComm