Starting with HDP 2.2, Hortonworks distributes MapReduce JARs via the Distributed Cache. The cookbook(s) should support this.
http://hortonworks.com/blog/mapreduce-framework-deployment-for-yarn-rolling-upgrades/
HDP revisions:
2.2.0.0 = 2041
2.2.1.0 = 2340
2.2.4.2 = 2
Documentation for 2.2.4.2 is different, of course...
http://docs.hortonworks.com/HDPDocuments/HDP2/HDP-2.2.4/HDP_Man_Install_v224/index.html#ref-d157d0ef-78e6-4718-9e3d-974d36d379a0