Fixed performance problems in MapReduce connector