I am running a hive query and I got the following error when setting the hive.execution.engine=tez, while the query is working under engine=MR.
FAILED: Exec
Found this post, which made it work for me. Needed to add the username
hadoop