Working on Java MR example.