Update to recent nightly 4x and start using example/scripts/map-reduce/set-map-reduce-classpath.sh.