AMBARI-4505. HCat, Tez client install fails. Additional changes. (Eugene Chekanskiy via dlysnichenko)