add common lib and mapreduce lib.