[PDI-10659][PDI-10952][PDI-10037]: Backport cdh50beta, hdp20, mapr30 shims