Adapting the jobs to hadoop 2.2