MapReduce and related Java programs