Put jars in your code, instead of using libjars. Your jar file gets pushed to every node. Keep your mapreduce code small; don't send large libraries because you run large VMs on nodes.
job.setOutputFormatClass(AvroKeyOutputFormat.class);
AvroKeyOutputFormat.setOutputPath(job, new Path(args 1 » ));