Hadoop MR learning codes