Fixed bug with Hive jobs fail

Change-Id: Ic35584d5f216880191c54acd2af5937ba1f945c6
Closes-bug: #1391823
Merge "Fixed bug with Hive jobs fail"