Oozie and Job History Server configuration problems
You should doublecheck using the HUE File browser whether all permissions are correct on ALL directories and subdirectories of /user/history.
In my case, all users had permissions on all subfolders of /user/history, but the HUE File browser told me that the '/user/history' directory itself had the following permission set:
Name User Group Permissionshistory mapred hadoop drwxrwx---
This resulted in the error when using a different user than mapred.The following command helped:
sudo -u hdfs hadoop fs -chmod 777 /user/history