AMBARI-6672. Oozie fails for stack 2.0 and 2.1.(vbrodetskyi)