Prepare streaming mapreduce.