Modified to run map reduce in hadoop cluster.