DOCS-3168: mapReduce cleanup