Add basic logic to run Hadoop MapReduce.