Added possibility to inject partitionId and IMap instance for Mapper and Reducer