Map reduce command 3.0.x

JAVA-1347 / JAVA-1349