Fix avro-mapred conflict for hadoop1 and hadoop2.