Suppose I want to generate a mapper class at run time and use that class in my MapReduce job.
What is the best way to do this? Would I just have an extra scripted step to pre-compile it and distribute with -libjars, or if I felt like compiling it dynamically with for example JavaCompiler is there some elegant way to distribute the class at run time?
