A patch for Cloudera 4.1.2 MRv1

Hi,

We've had to implement Mesos with CDH 4.1.2 so I thought I'd give back the patch I've ported.

Regards,

Sebastien Coutu