I'm using ivy to download dependencies for pig, but after updating the version to 0.10.0 I am getting errors in my unit tests:
[testng] java.lang.NoClassDefFoundError: org/codehaus/jackson/map/util/LRUMap [testng] at org.apache.pig.builtin.JsonMetadata.<init>(JsonMetadata.java:75) [testng] at org.apache.pig.builtin.PigStorage.getSchema(PigStorage.java:466) [testng] at org.apache.pig.newplan.logical.relational.LOLoad.getSchemaFromMetaData(LOLoad.java:151) [testng] at org.apache.pig.newplan.logical.relational.LOLoad.getSchema(LOLoad.java:110) ...etc. It looks like the dependency on jackson-mapper-asl is coming from avro. Looking in jackson-mapper-asl-1.7.3.jar I see the LRUMap class. However using ivy to pull down dependencies I get jackson-mapper-asl-1.4.2.jar, not jackson-mapper-asl-1.7.3.jar. When I build pig 0.10.0 from source it uses 1.7.3. Is there an inconsistency between the avro version pig is compiled against and the avro version specified in the pom? Thanks, Matt
