The Avro project faced this same issue and they resolved it in Avro
1.7.3. Afaik, they used maven classifiers. Thus, an avro-mapred jar
compiled against hadoop2 is avro-mapred-1.7.3-hadoop2.jar.
See https://issues.apache.org/jira/browse/AVRO-1170.
- Wing Yew
On Fri, Mar 29, 2013 at 8:50 AM, Stack
Stack,
you could take a look at
http://svn.apache.org/repos/asf/avro/tags/release-1.7.3/lang/java/mapred/pom.xml
to see how they do it with classifiers.
- w.y.
On Fri, Mar 29, 2013 at 11:31 AM, Stack st...@duboce.net wrote:
On Fri, Mar 29, 2013 at 11:22 AM, Wing Yew Poon wyp...@cloudera.com
PM, Stack st...@duboce.net wrote:
On Fri, Mar 29, 2013 at 11:41 AM, Wing Yew Poon wyp...@cloudera.com wrote:
Stack,
you could take a look at
http://svn.apache.org/repos/asf/avro/tags/release-1.7.3/lang/java/mapred/pom.xml
to see how they do it with classifiers.
Thank you for the pointer